developit / microbundle

📦 Zero-configuration bundler for tiny modules.
https://npm.im/microbundle
MIT License
8.05k stars 362 forks source link

Bundle web worker source alongside main code? #170

Open donmccurdy opened 6 years ago

donmccurdy commented 6 years ago

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?

developit commented 6 years ago

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

schlusslicht commented 3 years ago

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: