mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-27 01:40:20 +08:00
acec00f60b
* 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
26 lines
564 B
TypeScript
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;
|