Skip to content

Commit 4f83acd

Browse files
Configure Storybook projects manually
1 parent 630c48e commit 4f83acd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.storybook/main.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ const config: StorybookConfig = {
1616

1717
viteFinal(config) {
1818
return mergeConfig(config, {
19-
plugins: [tsConfigPaths()],
19+
plugins: [
20+
tsConfigPaths({
21+
projects: ['./tsconfig.dev.json', './tsconfig.build.json'],
22+
}),
23+
],
2024
css: {
2125
preprocessorOptions: {
2226
scss: {

0 commit comments

Comments
 (0)