Fix TypeScript baseUrl deprecation and clean up Storybook story pattern
Remove deprecated baseUrl from tsconfig.app.json (paths work without it in modern TS). Remove unused .mdx pattern from Storybook story glob. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2,8 +2,7 @@ import type { StorybookConfig } from '@storybook/react-vite';
|
|||||||
|
|
||||||
const config: StorybookConfig = {
|
const config: StorybookConfig = {
|
||||||
"stories": [
|
"stories": [
|
||||||
"../src/**/*.mdx",
|
"../src/**/*.stories.@(ts|tsx)"
|
||||||
"../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"
|
|
||||||
],
|
],
|
||||||
"addons": [
|
"addons": [
|
||||||
"@chromatic-com/storybook",
|
"@chromatic-com/storybook",
|
||||||
|
|||||||
@@ -23,9 +23,8 @@
|
|||||||
"noFallthroughCasesInSwitch": true,
|
"noFallthroughCasesInSwitch": true,
|
||||||
|
|
||||||
/* Path alias */
|
/* Path alias */
|
||||||
"baseUrl": ".",
|
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["src/*"]
|
"@/*": ["./src/*"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"include": ["src"]
|
"include": ["src"]
|
||||||
|
|||||||
Reference in New Issue
Block a user