-
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
@angular-devkit/build-angular removes custom library decorators from another libraries on production build #15301
Comments
I created a repository for demo https://github.com/abadakhshan/test-build-angular I have a decorator on "narik-core" (@NarikInject). If I change "@angular-devkit/build-angular" to "0.801.3" and "typescript" to "3.4.5" everything is OK. This happens on |
Similar things have also been reported here: ng-packagr/ng-packagr#1307 |
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
I define some decorators on one of my libraries and use them a lot on other libraries.
When I build my application with --prod Angular compiler removes using of them in generated code.
This problem occurs with @angular-devkit/[email protected] and I have no problem with @angular-devkit/[email protected]
The text was updated successfully, but these errors were encountered: