lib.min.js is too big after packing
See original GitHub issueExpected Behavior
When i open scratch project, And In debugging tools I found lib.min.js
only 3.9M
:
Actual Behavior
But When I packed it locally, I found the file was very large. I really wonder is there some content that needs to be separately configured?
Steps to Reproduce
- git clone
https://github.com/LLK/scratch-gui
develop branch npm run build
Operating System and Browser
Window10 Chrome 68.0.3440.106
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
JavaScript Bundles Are Too Big : Break Up The Libraries
The Good: D3 version 4. D3 has always been a heavy library, the latest minified totals to 213KB. It is also broken up...
Read more >How to minimize the size of webpack's bundle? - Stack Overflow
After running the optimization with the -p flag, it reduces the bundle to 700kb, which is still extremely big. I have looked into...
Read more >5 Methods to Reduce JavaScript Bundle Size - Bits and Pieces
5 Methods to Reduce JavaScript Bundle Size · 1. Code Splitting with Webpack · 2. Using Webpack Plugins for Tree Shaking · 3....
Read more >Node module size: See how I reduced it by 90% | TSH.io
You've ended up with 1GB node module size? We know the struggle is real but there's a way to reduce that size to...
Read more >Speed Up Your Javascript Load Time - BetterExplained
First, you can try to make the javascript file smaller itself. There are lots of utilities to “crunch” your files by removing whitespace...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I set NODE_ENV=production, and npm run build; but it’s also too big; How to minmize lib.min.js ???
How to minmize lib.min.js? it’s too big