feat: change path pointed by @pswui-lib to src/pswui/lib

This commit is contained in:
p-sw 2024-06-15 04:23:01 +09:00
parent d16df342a2
commit 889a8c01b3
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@
"paths": {
"@pswui/*": ["src/pswui/components/*"],
"@/*": ["src/*"],
"@pswui-lib": ["src/pswui/lib.tsx"]
"@pswui-lib": ["src/pswui/lib"]
}
},
"include": ["src"],

View File

@ -28,7 +28,7 @@ export default defineConfig({
alias: {
"@pswui": resolve(__dirname, "./src/pswui/components"),
"@": resolve(__dirname, "./src"),
"@pswui-lib": resolve(__dirname, "./src/pswui/lib.tsx"),
"@pswui-lib": resolve(__dirname, "./src/pswui/lib"),
},
},
cacheDir: './.vite'