diff options
author | silverwind <me@silverwind.io> | 2023-03-18 05:36:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-18 00:36:32 -0400 |
commit | 48f6805b0f9eaa18097ee649497199944c77a73f (patch) | |
tree | 2e9db4553e68ea7042f7cc31c2ed9811506b5d5d /package.json | |
parent | fe8b6cbd91ccfac8ce2bccac8b8785aa7358a243 (diff) | |
download | gitea-48f6805b0f9eaa18097ee649497199944c77a73f.tar.gz gitea-48f6805b0f9eaa18097ee649497199944c77a73f.zip |
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>
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/package.json b/package.json index f449f157fd..9ff4ac2783 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,6 @@ "webpack-cli": "5.0.1", "workbox-routing": "6.5.4", "workbox-strategies": "6.5.4", - "worker-loader": "3.0.8", "wrap-ansi": "8.1.0" }, "devDependencies": { |