worker-loader
Advanced tools
Comparing version 0.5.2 to 0.5.3
@@ -0,0 +0,0 @@ // http://stackoverflow.com/questions/10343913/how-to-create-a-web-worker-from-a-string |
@@ -13,3 +13,3 @@ var WebWorkerTemplatePlugin = require("webpack/lib/webworker/WebWorkerTemplatePlugin"); | ||
filename: "[hash].worker.js", | ||
chunkFilename: "[i].[hash].worker.js", | ||
chunkFilename: "[id].[hash].worker.js", | ||
namedChunkFilename: null | ||
@@ -23,3 +23,3 @@ }; | ||
var workerCompiler = this._compilation.createChildCompiler("worker", outputOptions); | ||
workerCompiler.apply(new WebWorkerTemplatePlugin()); | ||
workerCompiler.apply(new WebWorkerTemplatePlugin(outputOptions)); | ||
workerCompiler.apply(new SingleEntryPlugin(this.context, "!!" + request, "main")); | ||
@@ -26,0 +26,0 @@ if(this.options && this.options.worker && this.options.worker.plugins) { |
{ | ||
"name": "worker-loader", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"author": "Tobias Koppers @sokra", | ||
@@ -5,0 +5,0 @@ "description": "worker loader module for webpack", |
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
4116