-
Notifications
You must be signed in to change notification settings - Fork 12k
localization retains copyright in minimized main.js #17497
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
Comments
This is due to the localization process including the global locale data file (e.g. https://github.com/angular/angular/blob/master/packages/common/locales/global/de.js). It seems that the minification that is being applied to this file (perhaps before or after it is added to main.js) is not stripping the copyright comment (although the other comment is being stripped). We recently also had an issue that these global locale data files were not being downleveled to ES5 when Perhaps we need to look at how the CLI is adding (and processing) these files. Transferring to the CLI project. |
Locale data is now guaranteed to be compatible with the ECMAScript level of the application bundles. The locale data is also optimized to remove comments and unnecessary whitespace. Fixes: angular#17497
Locale data is now guaranteed to be compatible with the ECMAScript level of the application bundles. The locale data is also optimized to remove comments and unnecessary whitespace. Fixes: angular#17497
Locale data is now transformed to be compatible with the ECMAScript level of the application bundles. The locale data is also optimized to remove comments and unnecessary whitespace. Fixes: angular#17497
Locale data is now transformed to be compatible with the ECMAScript level of the application bundles. The locale data is also optimized to remove comments and unnecessary whitespace. Fixes: angular#17497
Locale data is now transformed to be compatible with the ECMAScript level of the application bundles. The locale data is also optimized to remove comments and unnecessary whitespace. Fixes: angular#17497
Locale data is now transformed to be compatible with the ECMAScript level of the application bundles. The locale data is also optimized to remove comments and unnecessary whitespace. Fixes: #17497
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. |
🐞 bug report
Affected Package
@angular/localize
Description
When using
@angular/localize
the Google license will not be removed (extracted) from main.js🔬 Minimal Reproduction
🌍 Your Environment
Angular Version:
angular.json
The text was updated successfully, but these errors were encountered: