Remove worker-loader (#23548)
[`worker-loader`](https://github.com/webpack-contrib/worker-loader) is deprecated since webpack 5 which can load workers without it now, so remove it. I think it was already dysfunctional because the regex does not match our current worker scripts: ``` web_src/js/features/eventsource.sharedworker.js web_src/js/features/serviceworker.js web_src/js/serviceworker.js ``` I did confirm that eventsource worker still loads via simple `console.log` inside the script. Co-authored-by: delvh <leon@kske.dev>
This commit is contained in:
parent
fe8b6cbd91
commit
48f6805b0f
3 changed files with 0 additions and 121 deletions
|
@ -111,18 +111,6 @@ export default {
|
|||
exclude: /node_modules/,
|
||||
loader: 'vue-loader',
|
||||
},
|
||||
{
|
||||
test: /\.worker\.js$/,
|
||||
exclude: /monaco/,
|
||||
use: [
|
||||
{
|
||||
loader: 'worker-loader',
|
||||
options: {
|
||||
inline: 'no-fallback',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
test: /\.js$/,
|
||||
exclude: /node_modules/,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue