Closed mkemmerling closed 4 years ago
Thanks for reporting this issue. This issue is now obsolete due to changes in the recent releases. Please update to the most recent Angular CLI version.
If the problem persists after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior.
I can confirm that the problem is gone in Angular 9.1.7. Thanks for fixing!
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
🐞 bug report
Affected Package
The issue is caused by Ivy.
Is this a regression?
Yes, the previous version in which this bug was not present was: Angular 8
Description
In Angular 9 when building a localized bundle in watch mode with, e.g.,
ng build --configuration=de --watch
the created main.js.map SourceMap is just an empty object.Not sure if this is a bug or just a missing feature, but I couldn't find any documentation about it.
When Ivy is disabled in tsconfig.json the SourceMap is built as expected. The problem also doesn't occur with
ng serve
.🔬 Minimal Reproduction
See https://github.com/mkemmerling/angular9_i18n_build_watch
This is just a minimal 'repro-app' with i18n configuration as described in the Angular docs.
To reproduce the error run
ng build --configuration=de --watch
and inspect the empty main.js.map SourceMap in dist/repro-app/de.🌍 Your Environment
Angular Version: