File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,10 @@ const { mergeConfig } = require("vite");
22
33const config = {
44 framework : "@storybook/react" ,
5- core : { builder : "@storybook/builder-vite" } ,
5+ core : {
6+ builder : "@storybook/builder-vite" ,
7+ disableTelemetry : true ,
8+ } ,
69 async viteFinal ( config : any , options : any ) {
710 return mergeConfig ( config , {
811 // customize the Vite config here
@@ -15,8 +18,8 @@ const config = {
1518
1619 // storyStoreV7 removes the circular dependency issue with Webpack 5
1720 // So, we added ThemeProvider in preview.jsx and so src/theme should work for HMR
18- // features: { storyStoreV7: true, babelModeV7 : true },
19- stories : [ "../src/*/stories /*.stories.@(ts|tsx)" ] ,
21+ features : { storyStoreV7 : true } ,
22+ stories : [ "../** /*.stories.@(ts|tsx)" ] ,
2023 addons : [
2124 // "storybook-addon-preview",
2225 "@storybook/addon-essentials" ,
You can’t perform that action at this time.
0 commit comments