Marc Bouchenoire 1b61029664
Rebase: Add worker-loader (#867)
* Add worker-loader

Targets enhancement: https://github.com/developit/microbundle/issues/170
Enable usage of `microbundle --worker-loader` to apply rollup-plugin-web-worker-loader.

Allow bundling web workers automatically

- Add flag `--worker-loader`
- For format `es` and `modern`, a Worker `type: module` is automatically
bundled

* Update README.md

Co-authored-by: Jason Miller <developit@users.noreply.github.com>

* Update src/index.js

Co-authored-by: Jason Miller <developit@users.noreply.github.com>

* Update src/prog.js

Co-authored-by: Jason Miller <developit@users.noreply.github.com>

* Update test/__snapshots__/index.test.js.snap

Co-authored-by: Jason Miller <developit@users.noreply.github.com>

* Update test/fixtures/worker-loader/package.json

Co-authored-by: Jason Miller <developit@users.noreply.github.com>

* Update README.md

Co-authored-by: Jason Miller <developit@users.noreply.github.com>

* Remove node_modules from snapshot

* Upgrade rollup-plugin-off-main-thread

* Add changeset

Co-authored-by: Tim Daubenschütz <tim@daubenschuetz.de>
Co-authored-by: Jason Miller <developit@users.noreply.github.com>
2021-10-06 09:09:49 -04:00
..
2020-01-06 03:48:32 +01:00
2018-05-21 10:21:54 +02:00
2018-05-21 10:21:54 +02:00
2018-12-01 18:25:46 -02:00
2020-01-06 03:48:32 +01:00
2020-01-06 03:48:32 +01:00
2018-12-04 21:57:40 +01:00
2019-03-21 15:04:17 -04:00
2020-01-06 03:48:32 +01:00
2019-05-25 10:55:06 +02:00
2019-06-12 00:54:19 +02:00
2019-06-24 13:00:33 -07:00
2019-06-24 12:55:06 -07:00
2019-06-24 13:58:20 -07:00
2019-06-24 12:02:18 -07:00
2018-05-21 10:21:54 +02:00
2018-08-27 19:18:36 -07:00
2018-12-01 09:21:15 +01:00