File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -670,6 +670,15 @@ npm run build
670
670
671
671
This will create output files in the ` dist/ ` folder.
672
672
673
+ To build a localized JavaScript binary, run:
674
+ ``` bash
675
+ npm run build build-js-{LANGUAGE_CODE}
676
+ ```
677
+ where ` {LANGUAGE_CODE} ` is replaced by the
678
+ [ code of the language you want] ( LANGUAGES.md ) . For example, the French binary
679
+ can be built with ` npm run build build-js-fr ` . This will create a binary
680
+ ` firebaseui__fr.js ` in the ` dist/ ` folder.
681
+
673
682
### Running the demo app
674
683
675
684
To run the demo app, you must have a Firebase project set up on the
Original file line number Diff line number Diff line change @@ -208,6 +208,7 @@ function makeDefaultFile(fileName) {
208
208
}
209
209
210
210
// Bundles the FirebaseUI JS with its dependencies for all locales.
211
+ // Generates the gulp tasks build-js-de, build-js-fr, etc.
211
212
const buildJsTasks = repeatTaskForAllLocales ( 'build-js-$' ,
212
213
[ 'build-firebaseui-js-$' ] , ( locale ) => {
213
214
const localeForFileName = getLocaleForFileName ( locale ) ;
You can’t perform that action at this time.
0 commit comments