storybook/docs/snippets/common/storybook-preset-configuration.js.mdx
2020-10-07 12:23:34 +08:00

17 lines
274 B
Plaintext

```js
// .storybook/main.js
module.exports = {
addons: [
{
name: '@storybook/preset-scss',
options: {
cssLoaderOptions: {
modules: true,
localIdentName: '[name]__[local]--[hash:base64:5]',
}
}
},
],
};
```