-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with the tree shaking #6233
Comments
Mostly dupe of #2901. The amount of tree shaking that happens depends on how |
hi @filipesilva, mind if i ask, does angular team has any plans of moving to rollup? |
No, that is not part of our plans currently. It would require a massive rework of the build system. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug Report or Feature Request (mark with an
x
)Versions.
1.0.2
Repro steps.
I create a simple projet with angular/cli
I added two libs:
"@angular/animations": "^4.0.0" "primeng": "4.0.0"
In app.module.ts, I had:
import { SharedModule as PrimeNgSharedModule } from 'primeng/primeng';
When I import PrimeNgSharedModule in @NgModule.imports, my bundle grows from 2.29mb to 3.19mb ! (this module is very small...)
Whatever module, I had, the size will be always the same, all the content of primeng/primeng is added, there is not tree shaking here....
The text was updated successfully, but these errors were encountered: