* 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>
* 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>
* 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
* 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>
* Bugfix: preserve Terser annotations during Babel pass
We were stripping out everything except `__PURE__`, but Terser has a number of annotations using that format - these were previously being ignored.
* Create late-bags-argue.md
* Add test for Terser annotations
* fix: restore CSS sourcemap support
* no CSS maps when inline
Co-authored-by: Jason Miller <developit@users.noreply.github.com>
Co-authored-by: Jason Miller <developit@users.noreply.github.com>
* Add failing test and snapshots
* Allow 'inline' value for sourcemap option
* Use string "true" as default sourcemap option
* Update test and snapshots
* Remove default
* Add warning message
* Add changeset
* feat: adds a `--cssmodules` option
* chore: Allow scopeName to come from args
* chore: --css-modules is now tristate
* docs: Wrote docs around how to use css-modules
* chore: Fixed all tristate logic, and readable first
* test: Wrote tests for all avenues
* chore: Add's newlines to the end of files