Parcel 1.10.2 已发布,Parcel 是一款 Web 应用打包工具,适用于经验不同的开发者。它利用多核处理提供了极快的速度,并且不需要任何配置。按官方说法,这是一款极速、且“开箱即用”的 Web 应用打包工具,其提供的测试数据显示,Parcel 比 Webpack 的速度更快。
Bundler | Time |
---|---|
browserify | 22.98s |
webpack | 20.71s |
parcel | 9.98s |
parcel – with cache | 2.64s |
本次更新内容:
Added
- Add
<image>
as a valid element type to bundle in<svg>
tags - Resolving
.postcssrc.json
as a PostCSS config - Add loaders when bundling workers
Fixed
- Fix hoist of modules with multiple aliases
- Fix hoisting of optional require calls
- Fix safari 10 compatibility for terser
- Fix HMR for Pug assets
- Don’t load existing sourcemaps if sourcemaps are disabled
- add missing –no-autoinstall flag to build command
源码下载:
转自 https://www.oschina.net/news/100617/parcel-1-10-2-released