tsconfig.node.json 964 B

123456789101112131415161718192021222324252627
  1. // TSConfig for modules that run in Node.js environment via either transpilation or type-stripping.
  2. {
  3. "extends": "@tsconfig/node24/tsconfig.json",
  4. "include": [
  5. "vite.config.*",
  6. "vitest.config.*",
  7. "cypress.config.*",
  8. "playwright.config.*",
  9. "eslint.config.*"
  10. ],
  11. "compilerOptions": {
  12. // Most tools use transpilation instead of Node.js's native type-stripping.
  13. // Bundler mode provides a smoother developer experience.
  14. "module": "preserve",
  15. "moduleResolution": "bundler",
  16. // Include Node.js types and avoid accidentally including other `@types/*` packages.
  17. "types": ["node"],
  18. // Disable emitting output during `vue-tsc --build`, which is used for type-checking only.
  19. "noEmit": true,
  20. // `vue-tsc --build` produces a .tsbuildinfo file for incremental type-checking.
  21. // Specified here to keep it out of the root directory.
  22. "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo"
  23. }
  24. }