babel-deps
Advanced tools
Comparing version 0.2.0 to 0.2.1
12
index.js
@@ -40,6 +40,10 @@ 'use strict'; | ||
if (!hasFile[fullPath]) { | ||
filesToCompile.push({ | ||
contents: fs.readFileSync(fullPath, 'utf8'), | ||
options: {filename: fullPath} | ||
}); | ||
if (fs.existsSync(fullPath)) { | ||
filesToCompile.push({ | ||
contents: fs.readFileSync(fullPath, 'utf8'), | ||
options: {filename: fullPath} | ||
}); | ||
} else { | ||
console.warn('Could not find ' + fullPath); | ||
} | ||
hasFile[fullPath] = true; | ||
@@ -46,0 +50,0 @@ } |
{ | ||
"name": "babel-deps", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Compiles javascript files and all their dependencies with babel.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5991
76