-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow multiple compiled-data chunks at once
Localized compiled data modules all share the same moduleIds derived from the set of development locale compiled data modules. One newly loaded locale replaces the current one. We now create a set of compiled data modules per locale, enabled webpack to allocate them distincts Ids. Multiple locales can now coexist, allowing dynamic switching and multiple locales on the same page. Two caveats: 1. A set of data modules have to be referenced. We picked the developement locale’s -> Its compiled-data file should always be loaded. 2. The last loaded compiled-data file sets the default locale. Signed-off-by: Frédéric Miserey <frederic@none.net> Closes #65
- Loading branch information
Showing
3 changed files
with
62 additions
and
45 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