Skip to content

Commit 5cd4479

Browse files
➕ - chore: install @storybook/react-vite (allow the build to be broken at this time)
1 parent 5ef6295 commit 5cd4479

File tree

4 files changed

+299
-1719
lines changed

4 files changed

+299
-1719
lines changed

frontend/.storybook/main.ts

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
1-
import type { StorybookConfig } from "@storybook/react-webpack5";
1+
import type { StorybookConfig } from "@storybook/react-vite";
22

33
const config: StorybookConfig = {
44
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
55
addons: [
6-
"@storybook/preset-create-react-app",
76
"@storybook/addon-links",
87
"@storybook/addon-essentials",
98
"@chromatic-com/storybook",
109
"@storybook/addon-interactions",
1110
"storybook-addon-mock",
12-
"storybook-addon-module-mock",
1311
{
1412
name: "@storybook/addon-coverage",
1513
options: {
@@ -20,13 +18,13 @@ const config: StorybookConfig = {
2018
},
2119
],
2220
framework: {
23-
name: "@storybook/react-webpack5",
21+
name: "@storybook/react-vite",
2422
options: {},
2523
},
2624
core: {
2725
disableTelemetry: true, // 👈 Disables telemetry
2826
},
2927
docs: {},
30-
staticDirs: ["../public"],
3128
};
29+
3230
export default config;

0 commit comments

Comments
 (0)