67% reduction in bundle size when bundling with rollup of instead parcel. Parcel is not tree shaking several classes from @readymade/core FESM, while rollup can. Steps to reproduce a simple example are below. Bug is reproducible on bug/optimize branch.
67% reduction in bundle size when bundling with rollup of instead parcel. Parcel is not tree shaking several classes from
@readymade/core
FESM, whilerollup
can. Steps to reproduce a simple example are below. Bug is reproducible onbug/optimize
branch.Steps to reproduce
yarn install
yarn prod && yarn serve
Observe size of client.js (~23.17 KB)
yarn prod:rollup && yarn serve
Observe size of client.js (~7.61 KB)