* ci: Bump CI versions
* ci: Limit compressed-size to microbundle itself
* ci: Limit push CI to master
* test: Drop output messages from tests, not reliable enough nor completely necessary
* ci: Revert removal of test reporter
* ci: Downgrade Node versions
* revert: Try reverting this whilst we're at it
* ci: Bump release workflow
this service recursively checks/lists all licenses within a package's dependency graph. I remember there being a fair number of pieces involved here so was happy to see that all 400+ licenses involved are green!
* 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>
* 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>
* fix: css compilation problems when multiple entries
* change minor to patch
* refactor: options.output change to absMain
* Apply suggestions from code review
Co-authored-by: Ryan Christian <33403762+rschristian@users.noreply.github.com>
* 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
* Remove mention of UMD support for web workers
OMT only supports amd or esm as output, so the readme should not
mention umd as supported.
When executing microbundle with umd format and `--workers`, the web
worker will fail to be detected or bundled.
* Update README.md
Co-authored-by: Ryan Christian <33403762+rschristian@users.noreply.github.com>
* fix: Output ESM w/ .mjs ext when pkg type is cjs
* docs: Adding changeset
* Update README.md
* Update README.md
Co-authored-by: Jason Miller <developit@users.noreply.github.com>
* chore: Add warning for new ESM output extension behavior
* Update src/index.js
Co-authored-by: Jason Miller <developit@users.noreply.github.com>
Co-authored-by: Jason Miller <developit@users.noreply.github.com>
* Resolve using "node" export condition for --target node
When bundling for a Node.js target, Microbundle should follow the "node" conditional package export key to match Node's own resolution. Fixes#886.
* lint
* Create fuzzy-trains-switch.md
* Update index.js
* feat: Expands generateTypes flag to support TS entries
* fix: Returning previous .d.ts generation
* test: Modifying `--generateTypes false` test for use on TS projects
* docs: Adding changeset