I have some imports, as well as some other modern JavaScript features in the ServiceWorker but they are not processed by Parcel/Babel – the generated file still contains:
import {skipWaiting} from 'workbox-core';
import {precacheAndRoute} from 'workbox-routing';
I have some imports, as well as some other modern JavaScript features in the ServiceWorker but they are not processed by Parcel/Babel – the generated file still contains:
How to make Parcel to process the file?
I am using the following config: