Skip to content

Commit

Permalink
fix: Update output config for webworkers. (#34580)
Browse files Browse the repository at this point in the history
We added a fix for generated bundles more generally.
This adds the fix for webworkers specifically.
  • Loading branch information
dianakhuang authored Apr 23, 2024
1 parent 2c06715 commit bf19fe2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webpack.common.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
},
Expand Down

0 comments on commit bf19fe2

Please sign in to comment.