From ca6f6b41cf410093952427ea2c00e78a57a5fd5e Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Fri, 12 Oct 2018 07:59:48 +0200 Subject: [PATCH] FIX RN template refs --- app/react-native/src/server/config/webpack.config.js | 2 +- app/react-native/src/server/config/webpack.config.prod.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/react-native/src/server/config/webpack.config.js b/app/react-native/src/server/config/webpack.config.js index cb545a5caf5..b361f3d6494 100644 --- a/app/react-native/src/server/config/webpack.config.js +++ b/app/react-native/src/server/config/webpack.config.js @@ -42,7 +42,7 @@ const getConfig = options => { version, ...entriesMeta.manager, }), - template: require.resolve(`@storybook/core/dist/server/templates/index.html.ejs`), + template: require.resolve(`@storybook/core/src/server/templates/index.html.ejs`), }), new webpack.HotModuleReplacementPlugin(), new CaseSensitivePathsPlugin(), diff --git a/app/react-native/src/server/config/webpack.config.prod.js b/app/react-native/src/server/config/webpack.config.prod.js index e13fde96342..e566008e5b4 100644 --- a/app/react-native/src/server/config/webpack.config.prod.js +++ b/app/react-native/src/server/config/webpack.config.prod.js @@ -45,7 +45,7 @@ const getConfig = options => { version, ...entriesMeta.manager, }), - template: require.resolve(`@storybook/core/dist/server/templates/index.html.ejs`), + template: require.resolve(`@storybook/core/src/server/templates/index.html.ejs`), }), new webpack.DefinePlugin({ 'process.env.NODE_ENV': '"production"',