Skip to content

Commit

Permalink
- Fix storybookjs/storybook#9211 similar issue
Browse files Browse the repository at this point in the history
- Code cleanup
  • Loading branch information
akshaaatt committed Jan 23, 2022
1 parent aa38448 commit 71a35f1
Show file tree
Hide file tree
Showing 6 changed files with 4,622 additions and 3,819 deletions.
3 changes: 2 additions & 1 deletion .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
module.exports = {
addons: ['@storybook/addon-postcss'],
stories: ['../**/*.stories.js'],
addons: ["@storybook/addon-actions/register", "@storybook/addon-links/register", "@storybook/addon-postcss"],
};
2 changes: 1 addition & 1 deletion .storybook/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = ({config, mode}) => {
config.module.rules.push(
{
include: path.resolve(__dirname, '../'),
loaders: ['style-loader', 'css-loader', 'sass-loader'],
loaders: ['style-loader', 'css-loader', 'postcss-loader', 'sass-loader'],
test: /\.scss$/,
},
{
Expand Down
Loading

0 comments on commit 71a35f1

Please sign in to comment.