rollup-plugin-comlink icon indicating copy to clipboard operation
rollup-plugin-comlink copied to clipboard

Don't throw if useModuleWorker === false

Open eight04 opened this issue 4 years ago • 0 comments

I use rollup-plugin-iife to convert ES modules into IIFE and use a different loader (i.e. importScripts) to load dependencies. In this case, output.format === 'esm' but I don't want to enable {type: "module"} in the worker.

Here is a live example: https://github.com/eight04/mgcm-skill-data/pull/29/files#diff-6814bf77564b4f1c92f5861e184e28fe217c080a047fefa8b73a728f755ec45c

eight04 avatar Feb 15 '21 15:02 eight04