storybook/docs/snippets/common/storybook-preset-configuration.js.mdx
2021-03-14 23:54:27 +09:00

16 lines
262 B
Plaintext

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