fix: tsconfig alias

This commit is contained in:
jackycheng
2024-12-27 15:14:10 +08:00
parent dc3228d313
commit aa8707cf6f
2 changed files with 6 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
import { customValueTypeMap } from '@/components'; import { customValueTypeMap } from '@components';
import { ConfigProvider, App as TocoApp, theme } from '@df/toco-ui'; import { ConfigProvider, App as TocoApp, theme } from '@df/toco-ui';
import { Router } from '@remix-run/router'; import { Router } from '@remix-run/router';
import enUS from 'antd/locale/en_US'; import enUS from 'antd/locale/en_US';

View File

@@ -17,7 +17,11 @@
"jsx": "react-jsx", "jsx": "react-jsx",
"baseUrl": "./src", "baseUrl": "./src",
"paths": { "paths": {
"@/*": ["./*"] "@/*": ["./*"],
"@components": ["./components"],
"@components/*": ["./components/*"],
"@pages": ["./pages"],
"@pages/*": ["./pages/*"]
} }
}, },
"include": ["src"] "include": ["src"]