From bf19fe237c5a54b8e75c0c58dda2588dffc0cdcc Mon Sep 17 00:00:00 2001 From: Diana Huang Date: Tue, 23 Apr 2024 14:37:49 -0400 Subject: [PATCH] fix: Update output config for webworkers. (#34580) We added a fix for generated bundles more generally. This adds the fix for webworkers specifically. --- webpack.common.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webpack.common.config.js b/webpack.common.config.js index cf2519c49561..1ea0f5b5ea1c 100644 --- a/webpack.common.config.js +++ b/webpack.common.config.js @@ -35,6 +35,7 @@ var workerConfig = function() { // eslint-disable-next-line global-require entry: require('../workers.json'), output: { + publicPath: "", // https://stackoverflow.com/a/65272040 filename: '[name].js', path: path.resolve(__dirname, 'common/static/bundles') },