Decorator metadata missing in production build #28155
Labels
angular/build:application
area: @angular/build
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
Which @angular/* package(s) are the source of the bug?
compiler-cli, compiler
Is this a regression?
Yes
Description
Decorator metadata like "design:type" is missing in production builds, while working in development.
Having the following code:
Compiles the to the following in development:
But to the following in production build:
The information about the property
address
being of type String is missing.Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in (run
ng version
)Anything else?
No response
The text was updated successfully, but these errors were encountered: