Skip to content

Commit 7fd82a7

Browse files
committed
Add human-readable chunk name for webpack
1 parent 6bf8191 commit 7fd82a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/workerHelpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export async function startWorkers(module, memory, builder) {
7575
// Note: we could use `../../..` as the URL here to inline workerHelpers.js
7676
// into the parent entry instead of creating another split point, but some
7777
// bundlers don't support that in `new Worker` expressions.
78-
const worker = new Worker(new URL('./workerHelpers.js', import.meta.url), {
78+
const worker = new Worker(/* webpackChunkName: 'wasm-bindgen-rayon' */ new URL('./workerHelpers.js', import.meta.url), {
7979
type: 'module'
8080
});
8181
worker.postMessage(workerInit);

0 commit comments

Comments
 (0)