These are chat archives for AngularClass/angular2-webpack-starter
An Angular 2 Webpack Starter kit featuring Angular 2, Router, TypeScript, and Webpack by AngularClass
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 https://www.dropbox.com/s/30svnjoowxca91o/Screenshot%202017-02-08%2013.35.01.png?raw=1
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?