News for hackers. Stuff that matters.
Re:Micropackages and Open Source Trust Scaling by joshuacc on Thursday March 24, 2016 @12:29PM (#11354165)
Up until very recently, tree-shaking JavaScript code was essentially impossible due to the dynamic nature of commonjs and AMD. Thanks to the new static module system in ES6, Rollup and Webpack 2 will be able to support tree shaking of ES6 modules. But the vast majority of modules out there are still commonjs, and it will be quite a while before that changes.

There are no comments on this comment yet.