JS打包工具简单对比

简单测试了下3种打包工具. rollup打包的体积具有明显的优势, 而parcel真正的零配置.

测试结果

Parcel Webpack Rollup.js
CJS web 1477 1116 152
node 1444 1347 374
ES6 web 1643 1101 134
node 1444 X 270
MIX web 1632 1096 X
node 1444 X X

项目地址

Go

Published at:

Categories

Comment is disabled to avoid unwanted discussions from 'localhost:1313' on your Disqus account...