Bug Report or Feature Request (mark with an x)
- [x ] bug report -> please search issues before submitting
- [ ] feature request
Versions.
@angular/cli: 1.1.1
node: 7.5.0
os: darwin x64
Hello all,
I'm struggling with tree shaking because it looks like that it doesn't work properly.
after running the follow command:
"bundle-report": "ng build --prod --target=production --environment=prod --aot --stats-json && webpack-bundle-analyzer dist/stats.json",
I realised that my vendor is: 2.4 MB and contain stuff that I don't use. RxJs for example take:

But in my code I use like that:

I'm doing something wrong or something wrong is in the tree shaking?
Bug Report or Feature Request (mark with an
x)Versions.
@angular/cli: 1.1.1
node: 7.5.0
os: darwin x64
Hello all,
I'm struggling with tree shaking because it looks like that it doesn't work properly.
after running the follow command:
"bundle-report": "ng build --prod --target=production --environment=prod --aot --stats-json && webpack-bundle-analyzer dist/stats.json",I realised that my vendor is: 2.4 MB and contain stuff that I don't use. RxJs for example take:

But in my code I use like that:

I'm doing something wrong or something wrong is in the tree shaking?