-
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
fix(@angular-devkit/build-angular): allow localization with development server #16053
Conversation
6a93776
to
41e52ba
Compare
@@ -40,7 +40,7 @@ function emittedFilesToInlineOptions( | |||
es5, | |||
outputPath, | |||
missingTranslation, | |||
setLocale: emittedFile.name === 'main', | |||
setLocale: emittedFile.name === 'main' || emittedFile.name === 'vendor', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible for the locale to need to be set in lazy chunks?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the point of view of Angular, we only need to set it in main.js
so that we can pick it up in Angular services and pipes. And I guess, since it is global, that once it is set it will automatically be available to all lazy loaded chunks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then what's the situation where it needs to be set in vendor?
…nt server (#16053) * fix(@angular-devkit/build-angular): allow localization with development server * test: ensure i18n application E2E tests are executed
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. |
No description provided.