diff --git a/.storybook/main.js b/.storybook/main.js index d0da08b4f..ea5927bef 100644 --- a/.storybook/main.js +++ b/.storybook/main.js @@ -1,6 +1,6 @@ const path = require('path'); -export default { +const config = { staticDirs: ['../stories/assets'], stories: ['../stories/**/*.stories.@(js|jsx|ts|tsx)', '../stories/**/*.mdx'], addons: [ @@ -44,12 +44,8 @@ export default { return config; }, framework: { - name: '@storybook/react-webpack5', - options: {} + name: '@storybook/react-webpack5' }, - // env: config => ({ - // ...config, - // CHROMATIC_VIEWPORTS: [375, 768, 1380, 1920] - // }), - docs: {}, }; + +export default config; diff --git a/.storybook/preview-head.html b/.storybook/preview-head.html index ee6c5979f..fef8d12f8 100644 --- a/.storybook/preview-head.html +++ b/.storybook/preview-head.html @@ -1,5 +1,5 @@ - - + +