threads-plugin
Advanced tools
Comparing version 1.3.2 to 1.3.3
{ | ||
"name": "threads-plugin", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "Webpack plugin to bundle threads.js workers automagically.", | ||
@@ -5,0 +5,0 @@ "main": "dist/threads-plugin.js", |
@@ -62,3 +62,5 @@ /** | ||
if (pluginOptions.target && /\bnode\b/.test(pluginOptions.target)) { | ||
const target = pluginOptions.target || compilerOptions.target | ||
if (target && /\bnode\b/.test(target)) { | ||
new NodeTargetPlugin().apply(workerCompiler); | ||
@@ -65,0 +67,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
343651
4086