fix: Update output config for webworkers. (#34580)

We added a fix for generated bundles more generally.
This adds the fix for webworkers specifically.
This commit is contained in:
Diana Huang
2024-04-23 14:37:49 -04:00
committed by GitHub
parent 2c06715343
commit bf19fe237c

View File

@@ -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')
},