-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid generating a full build with each language
This patch changes the build so that bundling all languages takes 25 seconds instead of a million years. The approach is in-place substituting the locale strings using a template instead of regenerating the build for each language. It also adds a "languages" property to package.json that specifies which languages to build when running npm run build. Bug: T246778 Change-Id: I16ecd12b97326278b44c7e4e3afe0dc00a784991
- Loading branch information
Francisco Dans
committed
Mar 12, 2020
1 parent
576e5c8
commit 9df72d8
Showing
4 changed files
with
76 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters