diff --git a/index.js b/index.js index 1ca8d4e8..201dd2ca 100644 --- a/index.js +++ b/index.js @@ -99,6 +99,7 @@ function createLoaderRules(languages, features, workers, publicPath) { if(!publicPath && window.__webpack_public_path__) { return `${window.__webpack_public_path__}/${workerPath}` } + return workerPath; }; const globals = {