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 4b4a1b6 commit 94688f6Copy full SHA for 94688f6
src/content/guides/web-workers.mdx
@@ -63,6 +63,7 @@ new Worker(new URL('./worker.js', import.meta.url));
63
```
64
65
---
66
+Note that this is only available in ESM. `Worker` in CommonJS syntax is not supported by either webpack or Node.js.
67
68
## Advanced: Cross-Domain and Dynamic Web Workers
69
0 commit comments