Skip to content

Commit 555088d

Browse files
Remove mention of UMD support for web workers (#962)
* Remove mention of UMD support for web workers OMT only supports amd or esm as output, so the readme should not mention umd as supported. When executing microbundle with umd format and `--workers`, the web worker will fail to be detected or bundled. * Update README.md Co-authored-by: Ryan Christian <[email protected]>
1 parent 9a4e2b2 commit 555088d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ This can be customized by passing the command line argument `--css-modules "[nam
261261
### Building Module Workers
262262

263263
Microbundle is able to detect and bundle Module Workers when generating bundles in the
264-
`es`, `umd` and `modern` formats. To use this feature, instantiate your Web Worker as follows:
264+
`esm` and `modern` formats. To use this feature, instantiate your Web Worker as follows:
265265

266266
```js
267267
worker = new Worker(new URL('./worker.js', import.meta.url), { type: 'module' });

0 commit comments

Comments
 (0)