From 5558d22b9ec5ccc46d9bb300b6762abae02cd1d4 Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Thu, 28 Jun 2018 20:10:16 +0000 Subject: [PATCH] Deploy website Deploy website version based on 94033aace6660a84f0e0ee31ebdb56202693a6d9 --- docs/next/performance.html | 2 +- docs/next/performance/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/next/performance.html b/docs/next/performance.html index 45ba5302fac..d8a6adfae24 100644 --- a/docs/next/performance.html +++ b/docs/next/performance.html @@ -360,7 +360,7 @@ fs.writeFile('./packager/modulePaths.js', fileD console.log('Done'); }); -

You can run via node packager/modulePaths.js.

+

You can run via node packager/generateModulePaths.js.

This script attempts to map from the module names to module paths. Its not foolproof though, for instance, it ignores platform specific files (*ios.js, and *.android.js). However based on initial testing, it handles 95% of cases. When it runs, after some time it should complete and output a file named packager/modulePaths.js. It should contain paths to module files that are relative to your projects root. You can commit modulePaths.js to your repo so it is transportable.

Updating the config.js

Returning to packager/config.js we should update it to use our newly generated modulePaths.js file.

diff --git a/docs/next/performance/index.html b/docs/next/performance/index.html index 45ba5302fac..d8a6adfae24 100644 --- a/docs/next/performance/index.html +++ b/docs/next/performance/index.html @@ -360,7 +360,7 @@ fs.writeFile('./packager/modulePaths.js', fileD console.log('Done'); }); -

You can run via node packager/modulePaths.js.

+

You can run via node packager/generateModulePaths.js.

This script attempts to map from the module names to module paths. Its not foolproof though, for instance, it ignores platform specific files (*ios.js, and *.android.js). However based on initial testing, it handles 95% of cases. When it runs, after some time it should complete and output a file named packager/modulePaths.js. It should contain paths to module files that are relative to your projects root. You can commit modulePaths.js to your repo so it is transportable.

Updating the config.js

Returning to packager/config.js we should update it to use our newly generated modulePaths.js file.