Skip to content

Commit 5a7cca1

Browse files
committed
remove backward compat for pattern option
1 parent 18aded9 commit 5a7cca1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ const defaultConfig = {
3030
};
3131

3232
module.exports = function workerLoaderPlugin(userConfig = null) {
33-
if (userConfig) {
34-
userConfig.webWorkerPattern = userConfig?.webWorkerPattern || userConfig?.pattern || null;
35-
}
3633
const config = Object.assign({}, defaultConfig, userConfig);
3734
config.skipPlugins = new Set(config.skipPlugins);
3835

0 commit comments

Comments
 (0)