19 Commits

Author SHA1 Message Date
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
Jason Miller
e3f1933773
Update to Terser 5.7 (#847)
* Update to Terser 5.7

* Create heavy-sheep-own.md

* Use npm@latest
2021-06-07 06:04:34 +02:00
Jason Miller
2ed56334cb
Rollup upgrade size fixes (#767)
* chore: update dev dependencies

* chore: update non rollup deps

* upgrade rollup

* update rollup-plugin dependencies

* add changeset

* Disable new external ESM interop

* Update Terser options to include __PURE__ annotations

* Remove `globalThis` injection

* bugfix

* update snapshots

* Update package.json

* Update package-lock.json

* strip globalThis from unminified UMD bundles too

* update shapshots

Co-authored-by: Ward Peeters <ward@coding-tech.com>
2020-12-18 14:02:35 -05:00
Ward Peeters
bd5d15e17c
chore: upgrade all dependencies (#738)
* chore: update dev dependencies

* chore: update non rollup deps

* upgrade rollup

* update rollup-plugin dependencies

* add changeset
2020-12-18 12:22:33 -05:00
Gino Zhang
8142704399
Use user's typescript first, fallback to bundled (#741)
* use process.cwd()'s typescript

* use process.argv[1]'s instead of process.cwd()'s typescript

* Handle situation that argv1 is empty

* changeset

* Require "typescript" from cwd i.o. argv1
2020-12-17 10:27:18 -05:00
Colin van Eenige
d33a7ba2f5
Add jsxImportSource flag for new JSX runtime (#731)
Co-authored-by: Leah <github.leah@hrmny.sh>
2020-09-24 11:35:14 +02:00
Ward Peeters
d08f977aa6
fix: use @babel/preset-env with bugfixes for modern builds (#702) 2020-08-28 17:11:28 +02:00
Mateusz Burzyński
a50252d24b
Init changesets (#684) 2020-07-23 11:00:08 -04:00
Jason Miller
95416d1ccf
Update dependencies (#660) 2020-06-16 10:05:28 +02:00
Katja Lutz
2a667c708e
fix: escape rollup external test items (#650) 2020-06-14 13:28:22 +02:00
Kristoffer K
58288ec989
fix: add missing dependencies and use require.resolve (#634) 2020-05-27 22:11:43 +02:00
Jason Miller
0c68bb62eb Allow import.meta usage 2020-05-22 14:31:34 +00:00
Teo Dragovic
de5b202dfe Update rollup babel plugin 2020-05-13 17:56:03 +02:00
Jason Miller
f7d231a5df synchronize package lock version 2020-05-07 20:31:31 +00:00
Joe Haddad
9707f2db49
Fix Travis (#590) 2020-04-17 21:57:21 +02:00
Leah
c22f24d6a4 update dependencies to fix ci 2020-03-12 15:40:03 -03:00
Marais Rossouw
d2d2f2db76
chore: Updated package-lock 2020-02-10 07:07:50 +10:00
Jovi De Croock
b630309050 update pkg-lock 2020-02-02 18:55:13 +01:00
Jason Miller
6f84f95f81 merge #538 from @ForsakenHarmony and enable lockfiles 2020-01-22 15:51:21 -05:00