-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Copy link
Labels
angular/build:applicationarea: @angular/builddevkit/build-angular:i18nfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity3: brokentype: bug/fix
Description
Command
build
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
Hey.
With v19.1 it's not possible to build with this config:
"sourceLocale": {
"code": "ru",
"subPath": ""
},
"locales": {
"en": {
"translation": "apps/frontend/src/locale/messages.en.xlf",
"subPath": ""
}
},
"configurations": {
"production-en": {
"localize": ["en"]
},
"production": {
"localize": ["ru"],
}
How about moving non-unique subPath check inside build configuration, but not global?
This should fail:
"configurations": {
"production": {
"localize": ["ru", "en"],
}
}
This should not:
"configurations": {
"production": {
"localize": ["ru"],
}
}
Minimal Reproduction
ng build
Exception or Error
Your Environment
v19.1
Anything else relevant?
No response
anisabboud, burner-account, zip-fa and Nashuim
Metadata
Metadata
Assignees
Labels
angular/build:applicationarea: @angular/builddevkit/build-angular:i18nfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity3: brokentype: bug/fix