mirror of
https://github.com/developit/microbundle.git
synced 2026-01-25 14:06:50 +00:00
15 KiB
15 KiB
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
9a4e2b2#954 Thanks @rschristian! - Bumps Node target to v12
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.mjsas the file extension when the package type is CJS
242754f#949 Thanks @rschristian! - Add --visualize flag to generate build output stats
Patch Changes
c4532cc#940 Thanks @rschristian! - Adds information about--compressflag's default value w/ different targets
b51b855#935 Thanks @mycoin! - Don't attempt to write build stats in watch mode when there has been a build error/sizeInfo isundefined
1d0e305#941 Thanks @rschristian! - Ensures TS plugin will begin its search for a 'tsconfig.json' in the set cwd
f04c85a#926 Thanks @developit! - Fix mangle.json being overwritten with[object Object]
ecb0b02#947 Thanks @rschristian! - Ensures hoisted node_modules are excluded from babel
392d63e#919 Thanks @rschristian! - Fixes CSS output from being overwritten when also generating .cjs
fb0a437#930 Thanks @rschristian! - Documenting --jsxFragment flag
8223eba#948 Thanks @rschristian! - Corrects formatting in build completion message w/ dynamic import is used
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
26f382a#895 Thanks @rschristian! - Completion message shows pkg's actual name, rather than safe name
0.14.0
Minor Changes
1b61029#867 Thanks @bouchenoiremarc! - - Add support for Module Workers with a new--workersflag
Patch Changes
5e93a0e#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 bundle
b1a6374#858 Thanks @bouchenoiremarc! - - Allow the minify optionscompressandmangleto be set as booleans
2980336#865 Thanks @rschristian! - Expands generateTypes flag to support libs with TS entrypoints
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 forreduce_funcs:falseinmangle.jsonconfiguration.
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
edcd777#823 Thanks @rschristian! - Ensures ambient type declaration for CSS Modules is included in the published bundle
d87a5dcThanks @developit! - - Fix--sourcemap=falseto match--no-sourcemapand 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 thepublishConfigpackage.json field.
0a4cddf#842 Thanks @ForsakenHarmony! - fix default extension to cjs for package.json "type":"module"
4f7fbc4Thanks @developit! - Fixtransform-fast-restto support referencing...restparams from within closures.
0c91795#841 Thanks @rschristian! - Ensures JS format is not included in CSS filename output
0.13.0
Minor Changes
967f8d5#769 Thanks @developit! - Add--css inlineoption. 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 bundled
Patch Changes
12668b9#687 Thanks @developit! - Add friendly microbundle-specific errors when modules can't be resolved.
fdafaf7#764 Thanks @bakerkretzmar! - Add support for generating inline sourcemaps
52a1771#768 Thanks @developit! - Add ambient typescript declaration for CSS Modules
0.12.4
Patch Changes
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