Skip to content

Commit 82de05b

Browse files
build(sb): 👷 remove telementry (#334)
2 parents 68ec242 + dce4478 commit 82de05b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.storybook/main.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ const { mergeConfig } = require("vite");
22

33
const 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",

0 commit comments

Comments
 (0)