Skip to content

Latest commit

 

History

History
147 lines (74 loc) · 14.6 KB

CHANGELOG.md

File metadata and controls

147 lines (74 loc) · 14.6 KB

microbundle

0.15.1

Patch Changes

  • cebafa1 #961 Thanks @zyrong! - Fix for when multiple entries reference different CSS, only the CSS referenced by the first entry will be packaged
  • 6018e58 #956 Thanks @rschristian! - Silences warnings when using Node builtins with the 'node:...' protocol on imports. Warnings related to bare usage of these builtins were already silenced.
  • 88241dd #968 Thanks @PeterBurner! - deps: upgrade babel-plugin-transform-async-to-promises to latest v0.8.18 to fix #565
  • e72377a #964 Thanks @rschristian! - Fixes filename generation for es & modern outputs. Both 'jsnext:main' and 'esmodule' were incorrectly ignored.

0.15.0

Minor Changes

  • 6f6e080 #950 Thanks @rschristian! - Microbundle will now output ESM using .mjs as the file extension when the package type is CJS

Patch Changes

  • b51b855 #935 Thanks @mycoin! - Don't attempt to write build stats in watch mode when there has been a build error/sizeInfo is undefined

0.14.2

Patch Changes

  • dd0bdde #904 Thanks @rschristian! - Added missing CLI doc for 'jsxImportSource' and correcting the Examples section of the '--help' output

0.14.1

Patch Changes

  • 2a0ca88 #882 Thanks @MiKr13! - feat: ✨ Closes #497: preserve trailing newline in mangle.json

0.14.0

Minor Changes

Patch Changes

  • 96b85da #887 Thanks @developit! - When using --target node, resolve "node" conditional Package Export keys, otherwise resolve "browser" keys.

0.13.3

Patch Changes

  • 3534815 #848 Thanks @developit! - Bugfix: preserve Terser annotations like /*@__NOINLINE__*/ during Babel pass

0.13.2

Patch Changes

  • e3f1933 #847 Thanks @developit! - - Upgrade to Terser 5.7 to re-enable support for reduce_funcs:false in mangle.json configuration.
  • 86371f0 #784 Thanks @rschristian! - Allows users to customize the modern output's filename using "exports" like they can with "esmodules"

0.13.1

Patch Changes

  • 54402ac #830 Thanks @JounQin! - fix: add generateTypes cli option, check false value correctly
  • edcd777 #823 Thanks @rschristian! - Ensures ambient type declaration for CSS Modules is included in the published bundle
  • d87a5dc Thanks @developit! - - Fix --sourcemap=false to match --no-sourcemap and actually turn sourcemaps off.
  • 6f1a20f #777 Thanks @rschristian! - Fixing a bug that would cause a CSS file to be generated to match each JS build output
  • 25b73d2 #834 Thanks @cometkim! - Add support for configuration overrides using the publishConfig package.json field.
  • 4f7fbc4 Thanks @developit! - Fix transform-fast-rest to support referencing ...rest params from within closures.

0.13.0

Minor Changes

  • bd5d15e #738 Thanks @wardpeet! - Upgrade rollup to version latest and upgrade all its dependencies
  • 967f8d5 #769 Thanks @developit! - Add --css inline option. The default CSS output for all formats is now external files (as it was supposed to be).

Patch Changes

  • 12668b9 #687 Thanks @developit! - Add friendly microbundle-specific errors when modules can't be resolved.

0.12.4

Patch Changes

  • d08f977 #702 Thanks @wardpeet! - Use @babel/preset-env with bugfixes instead of preset-modules to enable "Optional chaining" & "nullish coalescing" by default.
  • 3488411 #700 Thanks @wardpeet! - Disable warnings for node's builtin-modules when using node as a target environment.