Skip to content

Commit

Permalink
Use relative path to config stories location (#1509)
Browse files Browse the repository at this point in the history
Co-authored-by: David Price <thedavid@thedavidprice.com>
  • Loading branch information
dthyresson and thedavidprice authored Jan 6, 2021
1 parent 1d7973d commit 3e9c379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/config/storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const { getSharedPlugins } = require('../webpack.common')

module.exports = {
stories: [
`${getPaths().web.src}/**/*.stories.{tsx,jsx,js}`.replace(/\\/g, '/'),
'../../../../web/src/**/*.stories.{tsx,jsx,js}',
],
webpackFinal: (sbConfig, { configType }) => {
// configType is 'PRODUCTION' or 'DEVELOPMENT', why shout?
Expand Down

0 comments on commit 3e9c379

Please sign in to comment.