microbundle icon indicating copy to clipboard operation
microbundle copied to clipboard

Bundle web worker source alongside main code?

Open donmccurdy opened this issue 7 years ago • 2 comments

Similar to Browserify+webworkify, or Rollup+[rollup-plugin-bundle-worker or rollup-plugin-webworkify], is it possible to bundle a web worker's source along with microbundle output?

donmccurdy avatar Jul 20 '18 04:07 donmccurdy

This is quite difficult in Rollup. I've got some stuff locally, but nothing that works yet.

developit avatar Aug 14 '18 02:08 developit

Sorry for the noise, I amended a couple of times to keep the history clear of clutter. Final PR is ready (https://github.com/developit/microbundle/pull/757)! :balloon:

schlusslicht avatar Nov 24 '20 19:11 schlusslicht