Releases: developit/microbundle
Releases · developit/microbundle
0.8.1
This fixes 0.8.0 which was broken
Patches
- Add back shebang handling: #256 (thx @marvinhagemeister ❤️)
0.8.0
Features
- Fix the jsx error that's been haunting us for some time: #252 (thx @marvinhagemeister ❤️)
Patches
- Fix linting error that caused ci to fail: #248 (thx @marvinhagemeister ❤️)
0.7.0
Possibly breaking
- Change default target to web & Don't minify by default for target == "node": #234 (me)
- Change "module" field from .m.js to .mjs: #213 (thx @loilo ❤️)
Features
- Add
--jsx
as a cli option to specify the pragma: #163 (thx @luxp ❤️) - Add
--raw
option to display the raw byte count: #174 (thx @andrewiggins ❤️) - Brotli sizes: #180 (thx @kristoferbaxter ❤️)
- Supports --globals config (rename global dependencies): #186 (thx @Ayc0 ❤️)
- Support TypeScript 3: #192 (thx @texastoland ❤️)
- Migrate to terser from uglify-js: #137 (thx @Andarist and @chocolateboy ❤️)
- Support for TypeScript sourcemaps: #227 (thx @alexbenic ❤️)
Bugfixes / Patches
-
Fix issue when using cwd and package.source: #176 (thx @gribnoysup ❤️)
-
Switch jest environment to node to fix tests: #179 (thx @gribnoysup ❤️)
-
Use async version of brotli-size (0.0.3): #182 (thx @developit ❤️)
-
Add cache folder for each format in typescript to fix a cache issue: (thx @alexbenic ❤️)
-
Don't compress microbundle dist: #231 (me)
-
Updates for dependencies (thx @Greenkeeper[bot] 🙃 and @joelgallant ❤️)
0.6.0
0.5.1
Special thanks to @Andarist and @ForsakenHarmony for their awesome work keeping Microbundle moving forward! 🙇♂️
- Breaking Change:
--external all
is now the default. Modules listed in your package.json's"dependencies"
and"peerDependencies"
will be linked as imports/require statements (thanks @Andarist) - Importing subdirectories from packages now treats them as external (#83, thanks @Andarist)
- When builds fail, actually output some useful information (#120, thanks @jesstelford)
- Output much more helpful Rollup errors (#128, thanks @gribnoysup)
- Fix error reporting in watch mode and make fatal watch errors exit with an error code (#153, thanks @mattdesl)
- Minify CSS assets with cssnano (#121, thanks @nicksrandall)
- Add
.tsx
support! (thanks @jaredpalmer) - Updated to Rollup 0.60+
- watch mode can now also be activated via a
--watch
flag (thanks @ngryman)
0.4.4
- New API:
options.onBuild
. You supply a function, it gets called on each build in watch mode (thanks @fwilkerson) - Switch to
rollup-plugin-typescript2
🔥 (thanks @freeman) - Add
--source-map
option (use--no-source-map
to disable them, thanks @cristianbote)
0.4.3
Changes & Features
- Switch to the latest typescript & fix issue with importHelpers (#69, thanks @tymondesigns)
- Switch to
uglify-es
by default for better compression!
Bugs Fixed
- Fix flowtype issue "Cannot read property 'code' of undefined" (#64, thanks @tlvince)
- Fix "Unknown plugin 'jsx'" (workaround until oligot/rollup-plugin-nodent#6 is merged)