microbundle
Advanced tools
Changelog
0.15.1
cebafa1
#961 Thanks @zyrong! - Fix for when multiple entries reference different CSS, only the CSS referenced by the first entry will be packaged9a4e2b2
#954 Thanks @rschristian! - Bumps Node target to v126018e58
#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 #565e72377a
#964 Thanks @rschristian! - Fixes filename generation for es & modern outputs. Both 'jsnext:main' and 'esmodule' were incorrectly ignored.Changelog
0.15.0
6f6e080
#950 Thanks @rschristian! - Microbundle will now output ESM using .mjs
as the file extension when the package type is CJS242754f
#949 Thanks @rschristian! - Add --visualize flag to generate build output statsc4532cc
#940 Thanks @rschristian! - Adds information about --compress
flag's default value w/ different targetsb51b855
#935 Thanks @mycoin! - Don't attempt to write build stats in watch mode when there has been a build error/sizeInfo is undefined
1d0e305
#941 Thanks @rschristian! - Ensures TS plugin will begin its search for a 'tsconfig.json' in the set cwdf04c85a
#926 Thanks @developit! - Fix mangle.json being overwritten with [object Object]
ecb0b02
#947 Thanks @rschristian! - Ensures hoisted node_modules are excluded from babel392d63e
#919 Thanks @rschristian! - Fixes CSS output from being overwritten when also generating .cjsfb0a437
#930 Thanks @rschristian! - Documenting --jsxFragment flag8223eba
#948 Thanks @rschristian! - Corrects formatting in build completion message w/ dynamic import is usedChangelog
0.14.2
dd0bdde
#904 Thanks @rschristian! - Added missing CLI doc for 'jsxImportSource' and correcting the Examples section of the '--help' outputChangelog
0.14.0
1b61029
#867 Thanks @bouchenoiremarc! - - Add support for Module Workers with a new --workers
flag5e93a0e
#853 Thanks @developit! - Fix crash when traversing "exports"
objects (#852)96b85da
#887 Thanks @developit! - When using --target node
, resolve "node" conditional Package Export keys, otherwise resolve "browser" keys.5d0465b
#875 Thanks @dwightjack! - Preserve terser annotations in compressed bundleb1a6374
#858 Thanks @bouchenoiremarc! - - Allow the minify options compress
and mangle
to be set as booleans2980336
#865 Thanks @rschristian! - Expands generateTypes flag to support libs with TS entrypointsChangelog
0.13.3
3534815
#848 Thanks @developit! - Bugfix: preserve Terser annotations like /*@__NOINLINE__*/
during Babel passChangelog
0.13.2
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"Changelog
0.13.1
edcd777
#823 Thanks @rschristian! - Ensures ambient type declaration for CSS Modules is included in the published bundled87a5dc
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 output25b73d2
#834 Thanks @cometkim! - Add support for configuration overrides using the publishConfig
package.json field.0a4cddf
#842 Thanks @ForsakenHarmony! - fix default extension to cjs for package.json "type":"module"4f7fbc4
Thanks @developit! - Fix transform-fast-rest
to support referencing ...rest
params from within closures.0c91795
#841 Thanks @rschristian! - Ensures JS format is not included in CSS filename outputChangelog
0.13.0
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).8142704
#741 Thanks @whitetrefoil! - Use user's typescript first, fallback to bundled12668b9
#687 Thanks @developit! - Add friendly microbundle-specific errors when modules can't be resolved.fdafaf7
#764 Thanks @bakerkretzmar! - Add support for generating inline sourcemaps52a1771
#768 Thanks @developit! - Add ambient typescript declaration for CSS ModulesChangelog
0.12.4
ffcc9d9
#713 Thanks @developit! - Support extending a UMD global by prefixing the package.json "amdName"
field (eg: "global.xyz"
).0527862
#722 Thanks @developit! - Support "esm" (-f esm
) as an alias of "es" format.d08f977
#702 Thanks @wardpeet! - Use @babel/preset-env with bugfixes instead of preset-modules to enable "Optional chaining" & "nullish coalescing" by default.d33a7ba
#731 Thanks @vaneenige! - Add jsxImportSource flag for new JSX runtime