tsconfig.json 942 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "compilerOptions": {
  3. "module": "CommonJS",
  4. "moduleResolution": "Node",
  5. "lib": ["ES2020"],
  6. "target": "ES2019",
  7. "strict": false,
  8. "skipLibCheck": true,
  9. "forceConsistentCasingInFileNames": true,
  10. "incremental": true,
  11. "esModuleInterop": true,
  12. "resolveJsonModule": true,
  13. "noEmitOnError": true,
  14. "noImplicitThis": true,
  15. "outDir": "dist",
  16. "rootDir": "."
  17. },
  18. "include": [
  19. // Include root files
  20. "./",
  21. // Include all ts files
  22. "./**/*.ts",
  23. // Include all js files
  24. "./**/*.js",
  25. // Force the JSON files in the src folder to be included
  26. "src/**/*.json"
  27. ],
  28. "exclude": [
  29. "node_modules/",
  30. "build/",
  31. "dist/",
  32. ".cache/",
  33. ".tmp/",
  34. // Do not include admin files in the server compilation
  35. "src/admin/",
  36. // Do not include test files
  37. "**/*.test.*",
  38. // Do not include plugins in the server compilation
  39. "src/plugins/**"
  40. ]
  41. }