We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Worker constructors don't work with magic comments so chunks cannot be easily named.
new Worker( /* webpackChunkName: "foo-worker" */ new URL( "../foo-worker.ts", import.meta.url ), { type: "module" } );
Filed a separate ticket on esbuild project where this needs to be fixed: evanw/esbuild#2439
Use the following syntax to load a worker with a webpack chunk name magic comment:
Note that the worker chunk does not have the name correctly applied.
npm
Any
The text was updated successfully, but these errors were encountered:
Fixed in https://github.com/evanw/esbuild/releases/tag/v0.15.17
Sorry, something went wrong.
No branches or pull requests
Bug description
Worker constructors don't work with magic comments so chunks cannot be easily named.
Filed a separate ticket on esbuild project where this needs to be fixed: evanw/esbuild#2439
Reproduction
Use the following syntax to load a worker with a webpack chunk name magic comment:
Note that the worker chunk does not have the name correctly applied.
Node.js package manager
npm
Environment
Can you contribute a fix?
The text was updated successfully, but these errors were encountered: