webworkify-webpack
Advanced tools
Comparing version 2.0.4 to 2.0.5
@@ -83,6 +83,6 @@ function webpackBootstrapFunc (modules) { | ||
var webpackRequireName = wrapperSignature[1] | ||
var re = new RegExp('\\W' + quoteRegExp(webpackRequireName) + '\\((\/\\*.*?\\*\/)?\s?.*?([\\.|\\-|\\w|\/|@]+).*?\\)', 'g') // additional chars when output.pathinfo is true | ||
var re = new RegExp('(\\\\n|\\W)' + quoteRegExp(webpackRequireName) + '\\((\/\\*.*?\\*\/)?\s?.*?([\\.|\\-|\\w|\/|@]+).*?\\)', 'g') // additional chars when output.pathinfo is true | ||
var match | ||
while ((match = re.exec(fnString))) { | ||
retval.push(match[2]) | ||
retval.push(match[3]) | ||
} | ||
@@ -89,0 +89,0 @@ return retval |
{ | ||
"name": "webworkify-webpack", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "launch a web worker at runtime that can require() in the browser with webpack", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
13372