Skip to content

Commit

Permalink
Merge pull request #565 from benmccann/storybook7
Browse files Browse the repository at this point in the history
chore: upgrade to storybook 7
  • Loading branch information
bestguy authored Oct 16, 2023
2 parents 42f77aa + 50b85a1 commit d25862f
Show file tree
Hide file tree
Showing 3 changed files with 19,925 additions and 21,215 deletions.
20 changes: 19 additions & 1 deletion .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/** @type { import('@storybook/svelte-vite').StorybookConfig } */
module.exports = {
stories: ['../stories/index.stories.ts']
stories: ["../stories/**/*.mdx", "../stories/**/*.stories.@(js|jsx|ts|tsx|svelte)"],
addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
],
features: {
// TODO: migrate
// https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#storystorev7-enabled-by-default
storyStoreV7: false,
},
framework: {
name: "@storybook/svelte-webpack5",
options: {},
},
docs: {
autodocs: "tag",
}
};
Loading

0 comments on commit d25862f

Please sign in to comment.