These are chat archives for AngularClass/angular2-webpack-starter

Feb 2017
Feb 08 2017 09:43
@indahouse-aleksandr thank you bro
Vladimir Tolstikov
Feb 08 2017 10:11

hi there! Can you explain me a little on Webpack 2 and tree-shaking regarding Angular 2 (AngularClass seed is used)? I included @angular/material and using only one component from it atm. Did AoT production build and analyzing it now and I see whole @angular/material is there

So, questions is: is webpack's tree-shaking working but just not so intelligent to exclude all unused code? or rollup.js should be used to do proper tree-shaking?