gradio/js/storybook/main.ts
Hannah acec00f60b
Improve chromatic workflow (#4770)
* only run post deployment link on PRs

* add check for chromatic token job

* replace deprecated  set-output with github_env

* tweak

* add turbosnap config for vite

* sb tweak

* remove (incompatible) turbosnap

* remove redundant flag

* remove turbosnap
2023-07-05 15:18:21 +02:00

26 lines
564 B
TypeScript

import type { StorybookConfig } from "@storybook/svelte-vite";
const config: StorybookConfig = {
stories: ["../../**/*.mdx", "../../**/*.stories.@(js|jsx|ts|tsx|svelte)"],
addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
"@storybook/addon-svelte-csf",
"@storybook/addon-a11y"
],
framework: {
name: "@storybook/svelte-vite",
options: {
builder: {
viteConfigPath: "js/storybook/vite.config.js"
}
}
},
docs: {
autodocs: true
},
staticDirs: ["./public"]
};
export default config;