Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Removing worker-loader and loading Worker with webpack5 #305

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

kalwalt
Copy link
Member

@kalwalt kalwalt commented Feb 2, 2023

With webpack 5 it's possible to load a worker without using the worker-loader package. This PR try to adapt the code to this new standard.
There is one issue, with this method the worker is not inlined as before: two files are created and must be loaded by the javascript code. As stated in this webpack issue there is no full support for inlining.
An option it could be the workerize-loader package, and maybe i will implement this.

@kalwalt kalwalt added dependencies Pull requests that update a dependency file webpack about issue on webpack code-design Typescript labels Feb 2, 2023
@kalwalt kalwalt self-assigned this Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code-design dependencies Pull requests that update a dependency file Typescript webpack about issue on webpack
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant