Skip to content

@angular-devkit/build-angular removes custom library decorators from another libraries on production build #15301

@abadakhshan

Description

@abadakhshan

🐞 Bug report

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • xi18n
  • run
  • config
  • help
  • version
  • doc

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/build-angular@0.802.0 and I have no problem with @angular-devkit/build-angular@0.801.3

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions