Skip to content

Commit 25fa599

Browse files
committed
fix customized example
1 parent 8693a6f commit 25fa599

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

examples/customised/styleguide.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,12 @@ module.exports = {
6767
},
6868
],
6969
},
70+
resolve: {
71+
alias: {
72+
// Make sure the example uses the local version of react-styleguidist
73+
// This is only for the examples in this repo, you won't need it for your own project
74+
'react-styleguidist': path.join(__dirname, '../../packages/react-styleguidist'),
75+
},
76+
},
7077
},
7178
};

0 commit comments

Comments
 (0)