JSCompiler, the goal is to replace
Babel。 His author was born in 1997강동윤, he wrote
swcI am a sophomore.
Parcel tired by speed
In order to work with packing tools, big brother
ParceltakeZero configurationAs his selling point (benchmarking
Among them, advanced
ESThe syntax will be based on the
browserslistTarget version degraded to corresponding
Nonstandard syntax, similar
TS, development environment features, similar
React Fast RefreshThey are all out of the box.
The realization of all this is based on
RustThe speed disadvantage at the language level is
BabelNo amount of optimization can make up for it.
Thus, there is the replacement mentioned at the beginning
ParcelThe team said,
It is worth pondering that in providing
benchmarkWhen showing performance,
esbuildUse 10 copies
threeJSCompare the packaging speed of different packaging tools under the default configuration as
Volume of speed
JSPackaging tool, open source in january2020. His author is
CTO Evan Wallace。
Once open source, there are no fancy new functions, and the hard and hard compilation speed comes up.
Parecel2Third from bottom.
And big brother
Webpack5The reason why there is no reciprocal first is that the reciprocal first is
ParcelIts advantages are: minimalism and zero configuration. But being pulled out like this is faster than the speed, the result is still so tragic.
ParcelTeam members are extremely oppressed.
So, brothers, let’s put aside other things first. Let’s roll up the compilation speed together!
After several months of development, we finally have the
beta3。 And I have to use you
benchmarkRun again and find the court!
Dimension reduction attack of JS packaging tool
In fact, in
WebpackToday, which has been developed for many years, can highlight
WebpackEncirclement and packaging tools that occupy a place are all following the line of differentiated competition.
WebpackIt supports the most comprehensive functions. Other mainstream packaging tools have their own emphasis.
The direction of the script should have been:
WebpackKeep going heHexagon WarriorRoute of
Other packaging tools are well installed and follow the differentiated route.
esbuildThe sudden rise of has caused a dimension reduction blow to these tools.
Compilation speedIt is really just needed at the time of development.
ParcelIt is not the first and by no means the last tool for change.
Some people embrace change, others are forced to accept it.
ViteThen say: Volume
bundleSpeed? Then I will adopt
No-BundleThe plan is not up to you.
Compilation speedIs it important to you? Welcome to leave your discussion.