feat: allowing import /src
This commit is contained in:
parent
93a7dc74f3
commit
1075d77ba0
|
@ -14,6 +14,7 @@
|
|||
"skipLibCheck": true,
|
||||
"paths": {
|
||||
"@/*": ["./src/*"],
|
||||
"/src/*": ["./src/*"],
|
||||
"@ns": ["./NetscriptDefinitions.d.ts"]
|
||||
}
|
||||
},
|
||||
|
|
|
@ -5,6 +5,7 @@ export default defineConfig({
|
|||
resolve: {
|
||||
alias: {
|
||||
'@': resolve(__dirname, 'src'),
|
||||
'/src': resolve(__dirname, 'src'),
|
||||
},
|
||||
},
|
||||
build: {
|
||||
|
|
Loading…
Reference in New Issue