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:
@@ -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')
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user