From e5baa522007e16a1f91a5190e556ebe0cfb2c7ba Mon Sep 17 00:00:00 2001 From: David Anson Date: Thu, 16 Nov 2023 20:21:35 -0800 Subject: [PATCH] fail --- webworker/webpack.config.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/webworker/webpack.config.js b/webworker/webpack.config.js index 16257da2..dc4865bc 100644 --- a/webworker/webpack.config.js +++ b/webworker/webpack.config.js @@ -28,16 +28,7 @@ module.exports = { } resource.request = module; } - ), - new webpack.NormalModuleReplacementPlugin( - /^unicorn-magic$/u, - (resource) => { - resource.request = require.resolve("./unicorn-magic-stub.js"); - } - ), - new webpack.ProvidePlugin({ - "process": "process-wrapper" - }) + ) ], "resolve": { "fallback": {