fix aliases not being resolved during build
This commit is contained in:
parent
86134ed2e1
commit
12e812075b
@ -8,7 +8,7 @@
|
||||
"dev": "npx ts-node -r tsconfig-paths/register ./src/app.ts",
|
||||
"build": "sh ./scripts/build.sh",
|
||||
"build:client": "node esbuild.mjs",
|
||||
"build:server": "npx tsc -p ./tsconfig.json",
|
||||
"build:server": "npx tsc -p ./tsconfig.json && npx tsc-alias -p ./tsconfig.json",
|
||||
"build:tailwind": "npx @tailwindcss/cli -i ./src/client/public/css/main.css -o ./src/client/public/css/tailwind.css",
|
||||
"db:migrate": "npx prisma migrate dev --name",
|
||||
"db:seed": "npx prisma db seed"
|
||||
|
@ -2,13 +2,9 @@
|
||||
"compilerOptions": {
|
||||
"target": "ES6",
|
||||
"module": "CommonJS",
|
||||
"rootDir": "./",
|
||||
"rootDir": "./src",
|
||||
"baseUrl": "./",
|
||||
"outDir": "./dist",
|
||||
"lib": [
|
||||
"ES6",
|
||||
"DOM"
|
||||
],
|
||||
"paths": {
|
||||
"@server/*": ["./src/server/*"],
|
||||
"@bot/*": ["./src/bot/*"]
|
||||
@ -23,7 +19,8 @@
|
||||
"sourceMap": false,
|
||||
"strict": true,
|
||||
"skipLibCheck": true,
|
||||
"esModuleInterop": true
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"include": [
|
||||
"./src/*",
|
||||
|
Loading…
x
Reference in New Issue
Block a user