🐛(react) avoid storybook errors
Since our upgrade from Typescript 5.0.4 to 5.1.3 some errors started to occur when running yarn build in .stories.tsx files. Please see the related issue: https://github.com/storybookjs/storybook/issues/23249. Adding this ignore clause partitions the storybook compilation and the package compilation which represents how things really work together, thus making the irrelevant errors to be removed. Fixes #109
This commit is contained in:
committed by
Jean-Baptiste PENRATH
parent
ef344e0aee
commit
d05e38520b
@@ -8,6 +8,6 @@
|
||||
"types": ["vitest/globals", "vite/client"]
|
||||
},
|
||||
"include": ["src", "cunningham.ts"],
|
||||
"exclude": ["node_modules","dist", "**/tokens.ts"],
|
||||
"exclude": ["node_modules","dist", "**/tokens.ts", "**/*.stories.tsx"],
|
||||
"references": [{ "path": "./tsconfig.node.json" }]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user