Skip to content

Commit 5f1552b

Browse files
authored
Add import to webpack extends example
1 parent e814a44 commit 5f1552b

File tree

1 file changed

+2
-0
lines changed
  • docs/src/pages/configurations/custom-webpack-config

1 file changed

+2
-0
lines changed

docs/src/pages/configurations/custom-webpack-config/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ Add following content to the `webpack.config.js` in your Storybook config direct
9797
> We plan to expose our default webpack-config as it's own package in the future.
9898
9999
```js
100+
const path = require('path');
101+
100102
// load the default config generator.
101103
const genDefaultConfig = require('@storybook/react/dist/server/config/defaults/webpack.config.js');
102104

0 commit comments

Comments
 (0)