feat: add resolving alias @ to ./src

This commit is contained in:
zihluwang committed 2025-07-26 00:48:13 +08:00
1 parent 84455906c9
commit 7cdbc4ac85
9 files changed
+63 -158

No files matched your search

+21 -5
View File
@@ -24,6 +24,9 @@ importers:
'@tauri-apps/cli':
specifier: ^2
version: 2.7.1
'@types/node':
specifier: '20'
version: 20.19.9
'@types/react':
specifier: ^18.3.1
version: 18.3.23
@@ -32,7 +35,7 @@ importers:
version: 18.3.7(@types/react@18.3.23)
'@vitejs/plugin-react':
specifier: ^4.3.4
version: 4.7.0(vite@6.3.5)
version: 4.7.0(vite@6.3.5(@types/node@20.19.9))
prettier:
specifier: ^3.6.2
version: 3.6.2
@@ -41,7 +44,7 @@ importers:
version: 5.6.3
vite:
specifier: ^6.0.3
version: 6.3.5
version: 6.3.5(@types/node@20.19.9)
packages:
@@ -496,6 +499,9 @@ packages:
'@types/estree@1.0.8':
resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==}
'@types/node@20.19.9':
resolution: {integrity: sha512-cuVNgarYWZqxRJDQHEB58GEONhOK79QVR/qYx4S7kcUObQvUwvFnYxJuuHUKm2aieN9X3yZB4LZsuYNU1Qphsw==}
'@types/prop-types@15.7.15':
resolution: {integrity: sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==}
@@ -650,6 +656,9 @@ packages:
engines: {node: '>=14.17'}
hasBin: true
undici-types@6.21.0:
resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==}
update-browserslist-db@1.1.3:
resolution: {integrity: sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==}
hasBin: true
@@ -1048,6 +1057,10 @@ snapshots:
'@types/estree@1.0.8': {}
'@types/node@20.19.9':
dependencies:
undici-types: 6.21.0
'@types/prop-types@15.7.15': {}
'@types/react-dom@18.3.7(@types/react@18.3.23)':
@@ -1059,7 +1072,7 @@ snapshots:
'@types/prop-types': 15.7.15
csstype: 3.1.3
'@vitejs/plugin-react@4.7.0(vite@6.3.5)':
'@vitejs/plugin-react@4.7.0(vite@6.3.5(@types/node@20.19.9))':
dependencies:
'@babel/core': 7.28.0
'@babel/plugin-transform-react-jsx-self': 7.27.1(@babel/core@7.28.0)
@@ -1067,7 +1080,7 @@ snapshots:
'@rolldown/pluginutils': 1.0.0-beta.27
'@types/babel__core': 7.20.5
react-refresh: 0.17.0
vite: 6.3.5
vite: 6.3.5(@types/node@20.19.9)
transitivePeerDependencies:
- supports-color
@@ -1215,13 +1228,15 @@ snapshots:
typescript@5.6.3: {}
undici-types@6.21.0: {}
update-browserslist-db@1.1.3(browserslist@4.25.1):
dependencies:
browserslist: 4.25.1
escalade: 3.2.0
picocolors: 1.1.1
vite@6.3.5:
vite@6.3.5(@types/node@20.19.9):
dependencies:
esbuild: 0.25.8
fdir: 6.4.6(picomatch@4.0.3)
@@ -1230,6 +1245,7 @@ snapshots:
rollup: 4.45.1
tinyglobby: 0.2.14
optionalDependencies:
'@types/node': 20.19.9
fsevents: 2.3.3
yallist@3.1.1: {}