Microbundle - 由Rollup提供支持的小型模块零配置打包程序
Microbundle - 由Rollup提供支持的小型模块零配置打包程序
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)
0.4.0
- Support for TypeScript! (#16, thanks @tymondesigns!!)
- Support for scoped packages (#51, thanks @Andarist!)
- Simpler warnings for missing/erroneous
package.json
- Fix
acorn-jsx
issue (we hope!)
0.3.1
- Detect when default & named exports are used in duplicate (eg: preact) and only export a single object.
0.3.0
Features
- Add support for JSX (+
--jsx
pragma option) (#13, thanks @wcastand) - Add support for tagged template strings (#29, thanks @rtorr)
- Add CSS support with PostCSS and Autoprefixer (#30, thanks @tknipfer)
- Switch to Sade for CLI handling (#32, thanks @lukeed)
- Fix
--inline all
option so it inlines modules fromnode_modules
(#33, thanks @ColinRTaylor) - Look for
"browser"
entries in package.json, add--target node
option to bypass (#38, thanks @kevlened) - Prefer "module" when importing from
node_modules
(#24, thanks @jescalan) - Add
"mangle"
field to package.json to allow custom property mangling - Add
--name
option to customize export name (#10, thanks @msfragala) - Switch from
snake_case
topascalCase
for auto module names (#15, thanks @msfragala)
Bug Fixes
0.2.4
- Support for Flow! (#6, thanks @maciej-ka)
- Gracefully handle missing
name
field inpackage.json
(#8, thanks @hph) - Add name CLI option and document UMD export naming options
- Bugfix: disable default export rewriting for now as it can break builds
热门度与活跃度
9.1
7.0
Watchers:39 |
Star:2075 |
Fork:85 |
创建时间: 2017-12-12 05:51:02 |
最后Commits: 3天前 |
基本信息
分类:打包工具 / JavaScript开发 |
收录时间:2017-12-14 22:03:53 |
0.4.4
Assets
options.onBuild
. You supply a function, it gets called on each build in watch mode (thanks @fwilkerson)rollup-plugin-typescript2
--source-map
option (use--no-source-map
to disable them, thanks @cristianbote)