This project aims to make it a bit easier to compare bundle size and build times between Parcel2 and webpack.
There is a single app in the "src" folder. You can build it with Parcel2 (with default babel config) by running yarn build:parcel
, and with webpack (with babel) by running yarn build:webpack
.
After the build output is generated, you can run yarn analyze
to generate a comparison of the build output using source-map-explorer
. It will put html
and tsv
files in the analyses
folder that show you makeup of each build output, plus two sets of diffs (showing things that are present in parcel's build, but not webpack's, and vice versa).