24 Commits

Author SHA1 Message Date
Ryan Christian
aae1611ef4
fix: Incorrect UMD sourcemaps (#1043) 2025-02-04 14:20:33 -06:00
Jovi De Croock
fd4ea1a544
Cleanup repository (#976)
* remove bors, appveyor and replace sizereport with our own

* remove install from size

* Update .github/workflows/nodejs.yml

Co-authored-by: Ryan Christian <33403762+rschristian@users.noreply.github.com>

Co-authored-by: Ryan Christian <33403762+rschristian@users.noreply.github.com>
2022-07-19 16:47:02 -05:00
PeterBurner
88241ddf8f
fix: Incorrect transform with async/await (#565) (#968)
* fix: Incorrect transform with async/await (#565)

* Update babel-plugin-transform-async-to-promises to v0.8.18

* Add changeset

* Update jest test snapshots

Co-authored-by: Björn Saja <bjoern@codeatelier.com>
2022-06-04 02:33:48 -05:00
Anton Gilgur
4ad4b768f0
deps: upgrade rpt2 to latest v0.32.0 to fix monorepos (#967)
* deps: upgrade rpt2 to latest v0.32.0 to fix monorepos

- rpt2 v0.30.0 supports compiling files outside of the project directory
  with no additional configuration (e.g. of `rootDir`) as it upgraded
  its dep of `@rollup/pluginutils` to v4, which has a breaking change
  affecting `createFilter`
  - essentially, the change to `@rollup/pluginutils` allows transforming
    files outside of the project dir

- rpt2 v0.32.0 supports symlinks, such as with monorepos built w/ pnpm

- previously, microbundle was using rpt2 v0.29.0, which is about ~1.5
  years out-of-date

* add changeset
2022-06-02 16:09:18 -05:00
Ryan Christian
242754f43c
feature: bundle visualizer (#949)
* feat: Add --visualizer flag to generate build output stats

Co-authored-by: Alex Hayton <alex.hayton@gmail.com>

* docs: Adding changeset

* chore: Removing & git ignoring stats.html

Co-authored-by: Alex Hayton <alex.hayton@gmail.com>
2022-04-25 14:16:17 -05:00
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