Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'weekly'
versioning-strategy: lockfile-only
labels: []
26 changes: 21 additions & 5 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,29 @@ module.exports = {
actions: false
}
},
// https://github.com/storybookjs/addon-styling-webpack/blob/3a5aa2b130f78545552390aacf032ada0fdb714d/README.md#postcss
{
name: '@storybook/addon-styling',
name: '@storybook/addon-styling-webpack',
options: {
postCss: {
/* eslint-disable-next-line n/global-require */
implementation: require('postcss')
}
rules: [
{
// Replaces existing CSS rules to support PostCSS
test: /\.css$/u,
use: [
'style-loader',
{
loader: 'css-loader',
options: { importLoaders: 1 }
},
{
// Gets options from `postcss.config.js` in your project root
loader: 'postcss-loader',
// eslint-disable-next-line n/global-require
options: { implementation: require('postcss') }
}
]
}
]
}
},
'@storybook/addon-webpack5-compiler-swc'
Expand Down
Loading