Parcel 1.10.0 发布了,Parcel 是一款 Web 应用打包工具,适用于经验不同的开发者。它利用多核处理提供了极快的速度,并且不需要任何配置。按官方说法,这是一款极速、且“开箱即用”的 Web 应用打包工具,其提供的测试数据显示,Parcel 比 Webpack 的速度更快。
Bundler | Time |
---|---|
browserify | 22.98s |
webpack | 20.71s |
parcel | 9.98s |
parcel – with cache | 2.64s |
接下来继续看看本次的更新内容,主要是新增了新特性,如支持 Babel 7、升级至 TypeScript 3.0、提供 HTML Bundle 加载器等,以及 bug 修复:
[1.10.0] – 2018-09-25
新增
- Babel 7 support Details
- HTML Bundle loader Details
- Process inline scripts and styles Details
- Added LD+JSON asset Details
- Add support for Elm assets Details
- Support optionally bundling node_modules for
--target=node
Details - Import existing sourcemaps Details
- Import GraphQL files from other GraphQL files Details
- Automatically strip flow types Details
- SugarSS Support Details
- Minimal verbose/debug mode Details
- User friendly error on failed entrypoint resolving Details
- Support for SharedWorkers Details
- Add Object Spread to default Babel transforms Details
- Update help message for
--public-url
Details - Support HTML5 history mode routing Details
- Split cache into multiple folders for faster FS Details
- Support array in package.json’s sideEffects property Details
- Added stub for require.cache Details
- Added dotenv-expand to expand env vars Details
- Update Typescript to v3.0.0 Details
- Add
--no-content-hash
option to build cli Details
详细内容请查看 更新日志。
下载地址 https://github.com/parcel-bundler/parcel/releases/tag/v1.10.0
转自 https://www.oschina.net/news/100340/parce-1-10-0-released