diff --git a/app/react-native/src/server/config/webpack.config.js b/app/react-native/src/server/config/webpack.config.js index cb545a5caf5c..b361f3d64942 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 e13fde963427..e566008e5b41 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"',