mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-30 12:05:39 -05:00
* 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
11 lines
210 B
JSON
11 lines
210 B
JSON
{
|
|
"extends": "./tsconfig",
|
|
"compilerOptions": {
|
|
"outDir": "dist",
|
|
"rootDir": "src",
|
|
"noEmit": false
|
|
},
|
|
"include": ["src"],
|
|
"exclude": ["**/*.test.*", "**/__mocks__/*", "**/__tests__/*"]
|
|
}
|