Scrollend polyfill bundle size impact
This package was carefully optimized to be as small as possible.
| Compression | Size |
|---|---|
| raw | 2.49 kB |
| min | 923 B |
| minGz | 495 B |
| minBrotli | 423 B |
Minifier configuration
During bundle size measurement process.env.NODE_ENV was set to production
to cut away some extra checks and verbose errors.
const MINIFIER_CONFIG = {
compress: {
global_defs: {
"process.env.NODE_ENV": "production"
}
}
};