tsconfig.json 1.1 KB

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