Skip to content

Commit 6dd93f8

Browse files
committed
chore: update storybook and carbon-components
1 parent dcb80b6 commit 6dd93f8

File tree

3 files changed

+2452
-853
lines changed

3 files changed

+2452
-853
lines changed

.storybook/webpack.config.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const path = require('path');
22

3-
module.exports = (baseConfig, env, defaultConfig) => {
4-
defaultConfig.module.rules.push({
3+
module.exports = ({config, mode}) => {
4+
config.module.rules.push({
55
test: [/\.stories\.tsx?$/, /index\.ts$/],
66
loaders: [
77
{
@@ -15,7 +15,7 @@ module.exports = (baseConfig, env, defaultConfig) => {
1515
enforce: 'pre',
1616
});
1717

18-
defaultConfig.mode = "development";
19-
defaultConfig.devtool = "source-map";
20-
return defaultConfig;
18+
config.mode = "development";
19+
config.devtool = "source-map";
20+
return config;
2121
};

0 commit comments

Comments
 (0)