mirror of
https://github.com/matheus23/elmjs-inspect.git
synced 2024-08-16 06:40:22 +03:00
Why is your elm.js file so big? Is Elm's dead code elimination on a particular function not working as you expected? What libraries cost your users bandwidth? Analyse your elm.js file size with this tool.
src | ||
.gitignore | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json |
elmjs-inspect
Build it
npm i
npm run build
npm link
Run it
Size contribution of each function
elmjs-inspect elm.js
Size contribution by modules
elmjs-inspect --summary=module elm.js
Size contribution by package
elmjs-inspect --summary=package elm.js
Size contribution of only the project's modules
elmjs-inspect --summary=project elm.js