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",
|
"dev": "npx ts-node -r tsconfig-paths/register ./src/app.ts",
|
||||||
"build": "sh ./scripts/build.sh",
|
"build": "sh ./scripts/build.sh",
|
||||||
"build:client": "node esbuild.mjs",
|
"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",
|
"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:migrate": "npx prisma migrate dev --name",
|
||||||
"db:seed": "npx prisma db seed"
|
"db:seed": "npx prisma db seed"
|
||||||
|
@ -2,13 +2,9 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "ES6",
|
"target": "ES6",
|
||||||
"module": "CommonJS",
|
"module": "CommonJS",
|
||||||
"rootDir": "./",
|
"rootDir": "./src",
|
||||||
"baseUrl": "./",
|
"baseUrl": "./",
|
||||||
"outDir": "./dist",
|
"outDir": "./dist",
|
||||||
"lib": [
|
|
||||||
"ES6",
|
|
||||||
"DOM"
|
|
||||||
],
|
|
||||||
"paths": {
|
"paths": {
|
||||||
"@server/*": ["./src/server/*"],
|
"@server/*": ["./src/server/*"],
|
||||||
"@bot/*": ["./src/bot/*"]
|
"@bot/*": ["./src/bot/*"]
|
||||||
@ -23,7 +19,8 @@
|
|||||||
"sourceMap": false,
|
"sourceMap": false,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"esModuleInterop": true
|
"esModuleInterop": true,
|
||||||
|
"forceConsistentCasingInFileNames": true
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"./src/*",
|
"./src/*",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user