This project is a tutorial on multiple ways to optimally bundle localization files.
These demos are purposely written in a simple and clear style. You will find no difficulty in following them to learn the basics.
Locally: Clone the repo.
$ git clone https://github.com/rahuljain936/locale-optimize.git
Install the dependencies.
$ cd locale-optimize
Now, play with the source files under the repo's demo* directories.
$ cd demo0*-**
$ npm install
$ npm run start
- Demo01: Single Bundle
- Demo02: Dynamic Expr Import
- Demo03: Component level Dynamic Import
- Useful links
Demo01: Single Bundle (source)
$ cd demo01-singleBundle
$ npm install
$ npm run start
Demo02: Dynamic Expr Import (source)
$ cd demo02-dynExprImport
$ npm install
$ npm run start
Demo03: Component level Dynamic Import (source)
$ cd demo03-dynImport
$ npm install
$ npm run start
MIT