Skip to content

Commit bbd1ffd

Browse files
authored
docs: remove note about firefox not supporting ESM imports in Web Workers (#13940)
1 parent 6b56094 commit bbd1ffd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/features.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ import MyWorker from './worker?worker'
559559
const worker = new MyWorker()
560560
```
561561

562-
The worker script can also use ESM `import` statements instead of `importScripts()`. **Note**: During dev this relies on [browser native support](https://caniuse.com/?search=module%20worker) (currently not supported in Firefox), but for the production build it is compiled away.
562+
The worker script can also use ESM `import` statements instead of `importScripts()`. **Note**: During dev this relies on [browser native support](https://caniuse.com/?search=module%20worker), but for the production build it is compiled away.
563563

564564
By default, the worker script will be emitted as a separate chunk in the production build. If you wish to inline the worker as base64 strings, add the `inline` query:
565565

0 commit comments

Comments
 (0)