Skip to content

Commit 7c9907f

Browse files
authored
deprecate worker-loader for webpack 5 (webpack#5443)
1 parent 7ef2c6c commit 7c9907f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/utilities/constants.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const excludedLoaders = [
2323
'webpack-contrib/null-loader',
2424
'webpack-contrib/mocha-loader',
2525
'webpack-contrib/istanbul-instrumenter-loader',
26+
'webpack-contrib/worker-loader',
2627
];
2728
const excludedPlugins = [
2829
'webpack-contrib/component-webpack-plugin',

webpack.ssg.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ module.exports = (env) =>
100100
'https://v4.webpack.js.org/loaders/mocha-loader/',
101101
'loaders/istanbul-instrumenter-loader':
102102
'https://v4.webpack.js.org/loaders/istanbul-instrumenter-loader/',
103+
'loaders/worker-loader/':
104+
'https://v4.webpack.js.org/loaders/worker-loader/',
103105
},
104106
}),
105107
new CopyWebpackPlugin({

0 commit comments

Comments
 (0)