Skip to content

Commit

Permalink
fixup! Fix Web Workers compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
legendecas committed Jul 5, 2021
1 parent 4575a4f commit fbfd5d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions browser/webpack.mocha.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ WebpackConfig.module.rules[2].use.options.presets[0][1].exclude = [
];

// Used in testing.
WebpackConfig.plugins.push(new Webpack.ProvidePlugin({
process: 'process/browser',
WebpackConfig.plugins.push(new Webpack.DefinePlugin({
'process.env.NODE_DEBUG': false,
}));
WebpackConfig.node = {
global: true,
Expand Down

0 comments on commit fbfd5d5

Please sign in to comment.