-
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
Production build breaks in rc.11 & 12 #16808
Comments
Hi, we’d need some more details to determine from where the regression came;
|
Hi, Updating individually gives the following results
or with --source-map Possibly Class is
|
Hi, I'm seeing the same issue on my end with The issue appears to happen with Branch 4.0.0 of my example app project, which uses Hopefully this helps. Thanks. |
It appears that the common element is that all the projects have the |
@clydin Interesting, thanks for the info. Removing the use of ES7 reflection and |
Wow thanks guys, removing |
…re needed for decorator metadata When `emitDecoratorMetadata` is set to true we don't elide type references imports that are used for decorated nodes. Fixes #16808
…re needed for decorator metadata When `emitDecoratorMetadata` is set to true we don't elide type references imports that are used for decorated nodes. Fixes #16808
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. |
…re needed for decorator metadata When `emitDecoratorMetadata` is set to true we don't elide type references imports that are used for decorated nodes. Fixes angular#16808
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Yes, the previous version in which this bug was not present was: rc.10Description
Production build breaks in rc11 and 12, if I disable optimization in
angular-cli.json
it goes away. It builds in rc10.🔬 Minimal Reproduction
I have tried to reproduce it using
ng new
but the build doesn't emit the same metadata (design:type
)🔥 Exception or Error
If I disable optimization it works, and Observable is imported from webpack imports instead of as a global variable.
🌍 Your Environment
Anything else relevant?
The text was updated successfully, but these errors were encountered: