fix: update TypeScript paths for payload configuration

This commit is contained in:
ArraysID
2025-05-08 15:24:44 +07:00
parent 45295953aa
commit c82426282c
2 changed files with 3 additions and 6 deletions
+1 -5
View File
@@ -1,16 +1,12 @@
{ {
"extends": "../../tsconfig.base.json", "extends": "../../tsconfig.base.json",
"compilerOptions": { "compilerOptions": {
"target": "ES2022",
"baseUrl": ".",
"paths": {
"@payload-config": ["./src/payload.config.ts"]
},
"jsx": "preserve", "jsx": "preserve",
"strict": true, "strict": true,
"noEmit": true, "noEmit": true,
"emitDeclarationOnly": false, "emitDeclarationOnly": false,
"esModuleInterop": true, "esModuleInterop": true,
"target": "ES2022",
"module": "esnext", "module": "esnext",
"moduleResolution": "bundler", "moduleResolution": "bundler",
"resolveJsonModule": true, "resolveJsonModule": true,
+2 -1
View File
@@ -24,7 +24,8 @@
"@imphnen-frontend-service/ui/organisms": [ "@imphnen-frontend-service/ui/organisms": [
"libs/ui/src/organisms/index.ts" "libs/ui/src/organisms/index.ts"
], ],
"@imphnen-frontend-service/utils": ["libs/utils/src/index.ts"] "@imphnen-frontend-service/utils": ["libs/utils/src/index.ts"],
"@payload-config": ["apps/landing/src/payload.config.ts"],
} }
}, },
"exclude": ["node_modules", "tmp"] "exclude": ["node_modules", "tmp"]