We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a31b35c commit cddc7b4Copy full SHA for cddc7b4
.storybook/main.ts
@@ -18,9 +18,10 @@ const config: StorybookConfig = {
18
// Inherit project aliases
19
resolve: {
20
alias: {
21
- "@": path.join(process.cwd(), "src"),
22
// Mock version module for stable visual testing in Storybook
+ // MUST be before @ alias to take precedence
23
"@/version": path.join(process.cwd(), ".storybook/mocks/version.ts"),
24
+ "@": path.join(process.cwd(), "src"),
25
},
26
27
});
0 commit comments