Skip to content
Reducing the size of bundle.js
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
src
.babelrc
.eslintrc
.gitignore
LICENSE.md
README.md
package.json

README.md

Minimizing Bundle Size

By simply referencing file paths instead of destructing import statements, we can significantly cut back on bundled JavaScript. This is extremely useful for creating lean Single Page Applications and can applied to most node libraries.

Related Post: https://lacke.mn/reduce-your-bundle-js-file-size/

Usage

If you want to test the bundles (each runs the same basic examples), you can use:

npm run build

License

MIT

You can’t perform that action at this time.