Files
freeCodeCamp/api/tsconfig.build.json
Oliver Eyton-Williams a128dd8fcd chore(api): compile TS into /dist (#49812
* chore: compile TS into /dist

Having the output co-located with the source meant that the js would be
imported by default. Given that we don't recompile on source changes,
this means the server got 'stuck' at the point of compilation and would
only register changes on build.

Also, compiling to a dist directory should make it easier to build when
we want to deploy. That said, the motivation is mostly DX.

* fix: put schema.prisma in the default location
2023-03-28 19:42:20 +05:30

11 lines
210 B
JSON

{
"extends": "./tsconfig",
"compilerOptions": {
"outDir": "dist",
"rootDir": "src",
"noEmit": false
},
"include": ["src"],
"exclude": ["**/*.test.*", "**/__mocks__/*", "**/__tests__/*"]
}