Skip to content

Commit 0ebb50b

Browse files
committed
🤖 Remove unused version alias and document CI approach
1 parent eea24f8 commit 0ebb50b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.storybook/main.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ const config: StorybookConfig = {
1919
resolve: {
2020
alias: {
2121
"@": path.join(process.cwd(), "src"),
22-
// Override version.ts with mock for stable visual testing
23-
// Use absolute path with $ to ensure exact match
24-
"@/version$": path.resolve(process.cwd(), ".storybook/mocks/version.ts"),
22+
// Note: VERSION mocking for stable visual testing is handled by overwriting
23+
// src/version.ts in the Chromatic CI workflow, not via alias here
2524
},
2625
},
2726
});

0 commit comments

Comments
 (0)