Created
August 17, 2019 08:15
-
-
Save maxmckenzie/ddd2b66316a614a678bf3c8b8682cc6a to your computer and use it in GitHub Desktop.
storybook webpack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require('path'); | |
// your app's webpack.config.js | |
const custom = require('../build/webpack.base.js'); | |
module.exports = async ({ config, mode }) => { | |
return { ...config, | |
module: { | |
...config.module, | |
rules: custom.module.rules, | |
}, | |
resolve: custom.resolve | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment