rollup-plugin-web-worker-loader
Advanced tools
Comparing version 1.3.0 to 1.3.1
{ | ||
"name": "rollup-plugin-web-worker-loader", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Rollup plugin to handle Web Workers", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -14,3 +14,3 @@ const path = require('path'); | ||
}); | ||
state.plugins = plugins; | ||
state.options.plugins = plugins; | ||
@@ -17,0 +17,0 @@ const cwd = process.cwd(); |
const path = require('path'); | ||
function resolveModule(name, paths, extensions) { | ||
const testNames = [name, ...extensions.map(extension => { | ||
return extension.startsWith('.') ? `${name}${extension}` : `${name}.${extension}`; | ||
})]; | ||
const testNames = [ | ||
name, | ||
...extensions.map(extension => (extension.startsWith('.') ? `${name}${extension}` : `${name}.${extension}`)), | ||
]; | ||
@@ -8,0 +9,0 @@ for (let i = 0, n = testNames.length; i < n; ++i) { |
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
47550
539