split-require
Advanced tools
Comparing version 2.1.0 to 2.1.1
{ | ||
"name": "split-require", | ||
"description": "Bundle splitting for CommonJS and ES modules (dynamic `import()`) in browserify", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"bugs": { | ||
@@ -6,0 +6,0 @@ "url": "https://github.com/goto-bus-stop/split-require/issues" |
@@ -120,3 +120,3 @@ var path = require('path') | ||
function createSplitter (b, opts) { | ||
var outputDir = opts.dir || './' | ||
var outputDir = opts.out || opts.dir || './' // .dir is deprecated | ||
var fallbackBundleId = 1 | ||
@@ -123,0 +123,0 @@ var outname = opts.filename || function (bundle) { |
@@ -273,3 +273,3 @@ var test = require('tape') | ||
.plugin(splitRequirePath) | ||
.plugin(splitRequirePlugin, { dir: output }) | ||
.plugin(splitRequirePlugin, { out: output }) | ||
.bundle() | ||
@@ -276,0 +276,0 @@ .pipe(fs.createWriteStream(path.join(actualDir, 'bundle.js'))) |
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
71477