WIP: test: add tree-shaking test (#8979)

* test: add tree-shaking test

currently this doesn't throw or break the build, first we need to resolve all
of the existing issues.

to run execute: ./tools/tree-shaking-test/test.sh

then inspect dist/tree-shaking/test/**/*.bundle.js

* fix(http): remove peerDep on @angular/common

it is not needed there because it will get transitively installed by @angular/platform-browser

we only need to declare this dependency in tsconfig.json because tsconfig.json's
do not support transitive dependencies in this way.
This commit is contained in:
Igor Minar
2016-06-08 12:15:09 -07:00
committed by Miško Hevery
parent d38aa5e25f
commit b746c64229
4 changed files with 72 additions and 1 deletions

View File

@ -10,7 +10,6 @@
"peerDependencies": {
"rxjs": "5.0.0-beta.6",
"@angular/core": "0.0.0-PLACEHOLDER",
"@angular/common": "0.0.0-PLACEHOLDER",
"@angular/platform-browser": "0.0.0-PLACEHOLDER"
},
"repository": {