http://blog.csdn.net/haodawang/article/details/77199980
tree shaking只对es模块生效,在打包tyscript模块是要使用tsc编译器,到那时webpck后依然无用,
原因是typescript编译后的js是es5,的所以需要把tsconfig.json的es5改成es6
"compilerOptions":{ "target":"es5", "sourceMap":true },