Home Page
About Us


Use this tag where the question specifically relates to new features, technical changes, code updates in ECMAScript 2015.


Tree shaking is a modern dead code elimination algorithm for ECMAScript 2015.



I have been happily transpiling a typescript library of mine to cjs for some time but decided i wanted to transpile to es2015 to get more out tree-shaking

from question  

Switching TS to target ES2015, getting unexplained errors named exports

Es2015 module is more efficient than the other formats and can facilitate the creation of smaller bundle size through tree-shaking technique importing just the bits you need instead of importing the whole thing

from question  

What is the purpose of the esm directories in the Angular 2 modules?

Back to Home
Data comes from Stack Exchange with CC-BY-SA-4.0