5 ms·
How would you actually strip unneeded javascript anyways? Let's imagine I have a setup like the OP and want to optimize it. Is there something, that would be ab
by pepe56 9y ago
How would you actually strip unneeded javascript anyways? Let's imagine I have a setup like the OP and want to optimize it. Is there something, that would be able to strip down all JS functions, that are not needed by the site?
- jonluca 9y agoWebpack does dead code elimination through UglifyJS, see here https://webpack.js.org/guides/tree-shaking/ https://webpack.js.org/guides/tree-shaking/