Skip to content

Commit

Permalink
fix: Add storybook stylelint
Browse files Browse the repository at this point in the history
  • Loading branch information
christianwiedemann committed Dec 11, 2024
1 parent cdeeedf commit 1db1352
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion starter-kits/tailwind/apps/storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,29 @@ export default {
'@storybook/addon-essentials',
{
name: '@storybook/addon-styling-webpack',
},
options: {
rules: [
{
test: /\.css$/,
sideEffects: true,
use: [
require.resolve('style-loader'),
{
loader: require.resolve('css-loader'),
options: {
importLoaders: 1,
},
},
{
loader: require.resolve('postcss-loader'),
options: {
implementation: require.resolve('postcss'),
},
},
],
},
],
},
}
],
};

0 comments on commit 1db1352

Please sign in to comment.