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 8118f74 commit 60a3226Copy full SHA for 60a3226
src/content/guides/web-workers.mdx
@@ -74,7 +74,7 @@ self.onmessage = ({ data: { publicPath, ...otherData } }) => {
74
75
```js
76
const worker = new Worker(new URL('./worker.js', import.meta.url));
77
-worker.postMessage({publicPath: window.__MY_GLOBAL_PUBLIC_PATH_VAR__});
+worker.postMessage({ publicPath: window.__MY_GLOBAL_PUBLIC_PATH_VAR__ });
78
```
79
80
## Node.js
0 commit comments