webworkify-webpack
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -64,3 +64,3 @@ function webpackBootstrapFunc (modules) { | ||
var requiredModules = options.all ? Object.keys(sources) : getRequiredModules(sources, moduleId) | ||
var src = '(' + webpackBootstrapFunc.toString().replace('ENTRY_MODULE', moduleId) + ')({' + requiredModules.map(function (id) { return '' + id + ': ' + sources[id].toString() }).join(',') + '})();' | ||
var src = '(' + webpackBootstrapFunc.toString().replace('ENTRY_MODULE', moduleId) + ')({' + requiredModules.map(function (id) { return '' + id + ': ' + sources[id].toString() }).join(',') + '})(self);' | ||
@@ -67,0 +67,0 @@ var blob = new window.Blob([src], { type: 'text/javascript' }) |
{ | ||
"name": "webworkify-webpack", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "launch a web worker at runtime that can require() in the browser with webpack", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -108,3 +108,3 @@ # webworkify-webpack | ||
The goal is to make `webworkify-webpack` be based on webpack's api only. I'm not sure how to accomplish it since I never wrote a webpack plugin (is it possible other way?) so I'm asking for help :) | ||
The goal is to make `webworkify-webpack` fully based on webpack's api. I'm not sure how to accomplish it since I never wrote a webpack plugin (is it possible other way?) so I'm asking for help :) | ||
@@ -111,0 +111,0 @@ Points of view: |
11338