Problema de los alias de typescript
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"dev": "echo \" Shared no es un modulo ejecutable \" ",
|
||||
"build": "tsc"
|
||||
"build": "tsc && yarn tsc-alias"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
@@ -26,6 +26,7 @@
|
||||
"@types/supertest": "*",
|
||||
"prettier": "*",
|
||||
"supertest": "*",
|
||||
"tsc-alias": "^1.8.16",
|
||||
"tsx": "*",
|
||||
"vitest": "*"
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "../../dist/packages/shared",
|
||||
"outDir": "../../dist",
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"#config/*": [
|
||||
@@ -20,7 +20,7 @@
|
||||
"__tests__/*"
|
||||
],
|
||||
"#shared/*": [
|
||||
"../shared/*"
|
||||
"./*"
|
||||
],
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user