feat: add import alias path for pswui
This commit is contained in:
parent
0caf5f4a65
commit
f68e54670f
@ -23,11 +23,11 @@
|
||||
/* Path */
|
||||
"baseUrl": "./",
|
||||
"paths": {
|
||||
"@components/*": ["components/*"],
|
||||
"@pswui/*": ["src/pswui/*"],
|
||||
"@/*": ["src/*"],
|
||||
"@pswui-lib": ["lib.tsx"]
|
||||
"@pswui-lib": ["src/pswui/lib.tsx"]
|
||||
}
|
||||
},
|
||||
"include": ["components", "src", "./lib.tsx"],
|
||||
"include": ["src"],
|
||||
"references": [{ "path": "./tsconfig.node.json" }]
|
||||
}
|
@ -26,9 +26,9 @@ export default defineConfig({
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
"@components": resolve(__dirname, "./components"),
|
||||
"@pswui": resolve(__dirname, "./src/pswui/components"),
|
||||
"@": resolve(__dirname, "./src"),
|
||||
"@pswui-lib": resolve(__dirname, "./lib.tsx"),
|
||||
"@pswui-lib": resolve(__dirname, "./src/pswui/lib.tsx"),
|
||||
},
|
||||
},
|
||||
});
|
Loading…
x
Reference in New Issue
Block a user