Comparing version 0.0.1 to 0.0.2
@@ -5,3 +5,3 @@ { | ||
"description": "CommonJS to browser exporter", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"scripts": { | ||
@@ -8,0 +8,0 @@ "test": "node test/run-tests.js" |
@@ -192,2 +192,4 @@ var fs = require('fs'); | ||
exports.bundleFiles = function(files, baseDir, dependencyMap, debug){ | ||
var moduleSources = files.map(function(module){ | ||
@@ -204,2 +206,3 @@ var source = fs.readFileSync( maybeAddJsExtension(module) ); | ||
exports.bundle = function(entryModule, debug, watch, aliases){ | ||
entryModule = path.resolve(entryModule); | ||
@@ -236,3 +239,3 @@ var dependencyMap = exports.dependencyMap(entryModule, aliases); | ||
return exports.bundleFiles(dependencyArray); | ||
return exports.bundleFiles(dependencyArray, baseDir, dependencyMap, debug); | ||
}; | ||
@@ -239,0 +242,0 @@ |
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
14555