Parcel 1.10.2 釋出,極速零配置 Web 應用打包工具
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