Skip to content

Commit

Permalink
Merge pull request #2330 from jjwon0/patch-1
Browse files Browse the repository at this point in the history
Add import to webpack extends example
  • Loading branch information
Hypnosphi authored Nov 16, 2017
2 parents e814a44 + 5f1552b commit ead3002
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/src/pages/configurations/custom-webpack-config/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ Add following content to the `webpack.config.js` in your Storybook config direct
> We plan to expose our default webpack-config as it's own package in the future.
```js
const path = require('path');

// load the default config generator.
const genDefaultConfig = require('@storybook/react/dist/server/config/defaults/webpack.config.js');

Expand Down

0 comments on commit ead3002

Please sign in to comment.