tsconfig.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "$schema": "http://json.schemastore.org/tsconfig",
  3. "extends": "../../tsconfig.base.json",
  4. "compilerOptions": {
  5. "module": "CommonJS",
  6. "jsx": "preserve",
  7. "resolveJsonModule": true,
  8. "types": [
  9. "vitest/globals"
  10. ],
  11. "baseUrl": ".",
  12. "paths": {
  13. "~/*": ["./src/*"],
  14. "^/*": ["./*"],
  15. "debug": ["./src/server/utils/logger/alias-for-debug"]
  16. },
  17. /* TODO: remove below flags for strict checking */
  18. "strict": false,
  19. "strictNullChecks": true,
  20. "strictBindCallApply": true,
  21. "noImplicitAny": false,
  22. "noImplicitOverride": true,
  23. // Note: To transform paths for both the output .js and .d.ts files, you need both of the below entries
  24. "plugins": [
  25. // Transform paths in output .js files
  26. { "transform": "typescript-transform-paths" },
  27. // Transform paths in output .d.ts files (Include this line if you output declarations files)
  28. { "transform": "typescript-transform-paths", "afterDeclarations": true }
  29. ]
  30. },
  31. "include": [
  32. "next-env.d.ts",
  33. "config",
  34. "src"
  35. ],
  36. "ts-node": {
  37. "transpileOnly": true,
  38. "swc": true
  39. }
  40. }