From 6d7bda056b9b6f37873fb2c1cccda4d298579e64 Mon Sep 17 00:00:00 2001 From: Tymofii Savytskyi Date: Thu, 11 Jun 2020 12:25:35 +0300 Subject: [PATCH] fix: added path appIndexJs --- packages/react-scripts/config/paths.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/react-scripts/config/paths.js b/packages/react-scripts/config/paths.js index 45033e93..57ddcdcb 100644 --- a/packages/react-scripts/config/paths.js +++ b/packages/react-scripts/config/paths.js @@ -93,6 +93,7 @@ module.exports = { appWebBuild: useNodeEnv ? resolveApp('build/web') : resolveApp('build'), appPublic: resolveApp('public'), appHtml: resolveApp('public/index.html'), + appIndexJs: resolveApp('src/index'), appWebIndexJs: webIndexJs, appNodeIndexJs: useNodeEnv && nodeIndexJs, appPackageJson: resolveApp('package.json'), @@ -122,6 +123,7 @@ module.exports = { appWebBuild: useNodeEnv ? resolveApp('build/web') : resolveApp('build'), appPublic: resolveApp('public'), appHtml: resolveApp('public/index.html'), + appIndexJs: resolveApp('src/index'), appWebIndexJs: webIndexJs, appNodeIndexJs: useNodeEnv && nodeIndexJs, appPackageJson: resolveApp('package.json'), @@ -179,6 +181,7 @@ if ( : resolveOwn('../../build'), appPublic: resolveOwn('template/public'), appHtml: resolveOwn('template/public/index.html'), + appIndexJs: resolveApp('src/index'), appWebIndexJs: webIndexJs, appNodeIndexJs: useNodeEnv && nodeIndexJs, appPackageJson: resolveOwn('package.json'),