Skip to content

Commit 5d70750

Browse files
committed
Merge in webpack config
1 parent 38aecb3 commit 5d70750

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.storybook/main.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
const path = require('path');
2+
13
module.exports = {
24
stories: ['../src/__stories__/index.js'],
5+
webpackFinal: async ({config}) => {
6+
config.module.rules.push({
7+
test: /\.scss$/,
8+
use: ['style-loader', 'css-loader', 'sass-loader'],
9+
include: path.resolve(__dirname, '../'),
10+
});
11+
return config;
12+
},
313
};

.storybook/webpack.config.js

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)