mirror of
https://github.com/penpot/penpot.git
synced 2025-05-12 14:06:39 +02:00
⬆️ Upgrade to storybook v8
This commit is contained in:
parent
5ab7123566
commit
a03eeb63e7
4 changed files with 1373 additions and 3223 deletions
|
@ -1,14 +1,22 @@
|
|||
import viteConfig from "../vite.config";
|
||||
|
||||
/** @type { import('@storybook/react-vite').StorybookConfig } */
|
||||
const config = {
|
||||
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
|
||||
staticDirs: ["../resources/public"],
|
||||
addons: ["@storybook/addon-essentials"],
|
||||
core: {
|
||||
builder: "@storybook/builder-vite",
|
||||
options: {
|
||||
viteConfigPath: "../vite.config.js",
|
||||
},
|
||||
},
|
||||
|
||||
framework: {
|
||||
name: "@storybook/react-vite",
|
||||
options: {},
|
||||
},
|
||||
docs: {
|
||||
autodocs: "tag",
|
||||
},
|
||||
|
||||
docs: {},
|
||||
};
|
||||
export default config;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue