split-require
Advanced tools
Comparing version 3.1.0 to 3.1.1
{ | ||
"name": "split-require", | ||
"description": "Bundle splitting for CommonJS and ES modules (dynamic `import()`) in browserify", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"bugs": { | ||
@@ -6,0 +6,0 @@ "url": "https://github.com/goto-bus-stop/split-require/issues" |
@@ -243,3 +243,3 @@ var path = require('path') | ||
mappings = mappings.reduce(function (obj, x) { | ||
obj[x.entry] = path.join(publicPath, x.filename) | ||
obj[x.entry] = path.join(publicPath, x.filename).replace(/\\/g, '/') | ||
if (x.integrity) sri[x.entry] = x.integrity | ||
@@ -246,0 +246,0 @@ return obj |
@@ -188,3 +188,3 @@ # split-require | ||
#### `outname(entry)` | ||
#### `filename(entry)` | ||
@@ -195,3 +195,3 @@ Function that generates a name for a dynamic bundle. | ||
```js | ||
function outname (entry) { | ||
function filename (entry) { | ||
return 'bundle.' + entry.index + '.js' | ||
@@ -198,0 +198,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
64783