Firefox support
nathancahill opened this issue · 1 comments
nathancahill commented
Firefox does not support module service workers yet. Can we add a flag to change the output from esm for workers only? I think this is the relevant path:
rollup-plugin-monaco-editor/src/index.ts
Line 354 in a79288e
chengcyber commented
Hi @nathancahill , Does this option https://github.com/chengcyber/rollup-plugin-monaco-editor#esm work for you? You can set esm: false
explicitly to output commonjs spec service worker code.