diff --git a/.storybook/webpack.config.js b/.storybook/webpack.config.js index 2422efe1..311784ec 100644 --- a/.storybook/webpack.config.js +++ b/.storybook/webpack.config.js @@ -3,7 +3,7 @@ const baseConfig = require('../webpack.config') module.exports = storybookBaseConfig => Object.assign({}, storybookBaseConfig, { resolve: baseConfig.resolve, - module: Object.assign({}, storybookBaseConfig, { + module: Object.assign({}, storybookBaseConfig.module, { loaders: storybookBaseConfig.module.loaders.concat(baseConfig.module.loaders) }) })