tsconfig.node.json 989 B

12345678910111213141516171819202122232425262728
  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. "nightwatch.conf.*",
  9. "playwright.config.*",
  10. "eslint.config.*"
  11. ],
  12. "compilerOptions": {
  13. // Most tools use transpilation instead of Node.js's native type-stripping.
  14. // Bundler mode provides a smoother developer experience.
  15. "module": "preserve",
  16. "moduleResolution": "bundler",
  17. // Include Node.js types and avoid accidentally including other `@types/*` packages.
  18. "types": ["node"],
  19. // Disable emitting output during `vue-tsc --build`, which is used for type-checking only.
  20. "noEmit": true,
  21. // `vue-tsc --build` produces a .tsbuildinfo file for incremental type-checking.
  22. // Specified here to keep it out of the root directory.
  23. "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo"
  24. }
  25. }