|
|
|
|
|
by pkozlowski_os
3795 days ago
|
|
If you test currently available dead-code elimination tools for JS you will discover that there are tricks that those tools can't play, most important one being eliminating unused methods on object / classes. AFAIK Webpack2 is using Rollup under the hood. While rollup is great and can build smaller outputs (biggest win seems to be elimination of the module system overhead) it can't perform miracles. In short: size still matters, even with dead-code elimination tools (at least as they are today). |
|