Baseline Newly JavaScript modules
JavaScript modules in service workers
The navigator.serviceWorker.register() method accepts { type: "module" } to load scripts that use import and export. Also known as ECMAScript modules or ESM in service workers.
Baseline Status
Newly Available
Since 2026-01-13
First Core Launch
Chrome 91
2021-05-25
Core-3 Stability
1,694d (4.6y)
Last: Firefox (2026-01-13)
BCD Keys Mapped
2
Group: JavaScript modules
Browser Support Timeline
Browser Support Releases
| Browser | Type | Version | Release Date |
|---|---|---|---|
| Chrome | desktop | 91 | 2021-05-25 |
| Chrome Android | mobile | 91 | 2021-05-25 |
| Edge | desktop | 91 | 2021-05-27 |
| Safari | desktop | 15 | 2021-09-20 |
| Safari on iOS | mobile | 15 | 2021-09-20 |
| Firefox | desktop | 147 | 2026-01-13 |
| Firefox for Android | mobile | 147 | 2026-01-13 |
Constituent MDN BCD Keys (Sample)
| BCD Key | Area | Core-3 TTA |
|---|---|---|
| api.ServiceWorker.ecmascript_modules | DOM API | 1,694d (4.6y) |
| javascript.statements.import.service_worker_support | JS | 1,694d (4.6y) |