We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97b160b commit dc8fb1fCopy full SHA for dc8fb1f
src/content/guides/web-workers.mdx
@@ -68,10 +68,6 @@ Note that this is only available in ESM. `Worker` in CommonJS syntax is not supp
68
### Cross-Domain and Dynamic Web Workers
69
70
In some setups, you may need your worker script to be hosted on a different origin
71
-(for example, on a CDN or within a micro-frontend).
72
-Webpack supports this, but the worker must know the correct **public path** at runtime.
73
-
74
-### Setting a dynamic public path safely
75
76
The recommended approach is to define `__webpack_public_path__` at the beginning of your worker entry file, before any imports.
77
This lets webpack resolve chunk URLs correctly without editing generated code:
0 commit comments