Skip to content

Commit

Permalink
chore: updated vite and storybook (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjitrosch committed Dec 3, 2022
1 parent 72d91b2 commit 8971c9c
Show file tree
Hide file tree
Showing 4 changed files with 10,978 additions and 9,380 deletions.
10 changes: 10 additions & 0 deletions .storybook/main.cjs
@@ -1,3 +1,5 @@
const { mergeConfig } = require('vite')

module.exports = {
stories: [
'./docs/pages/Welcome.stories.mdx',
Expand Down Expand Up @@ -27,5 +29,13 @@ module.exports = {
},
},
],
core: {
builder: '@storybook/builder-vite',
},
framework: '@storybook/react',
async viteFinal(config) {
return mergeConfig(config, {
optimizeDeps: {},
})
}
}
File renamed without changes.

0 comments on commit 8971c9c

Please sign in to comment.