tsconfig.json 976 B

123456789101112131415161718192021222324252627282930
  1. {
  2. "extends": "@vue/tsconfig/tsconfig.json",
  3. "include": ["./apps/**/*.ts", "./apps/**/*.vue", "./core/**/*.ts", "./*.d.ts"],
  4. "compilerOptions": {
  5. "types": ["jest", "node", "vue", "vue-router"],
  6. "outDir": "./dist/",
  7. "target": "ESNext",
  8. "module": "esnext",
  9. // Set module resolution to bundler and `noEmit` to be able to set `allowImportingTsExtensions`, so we can import Typescript with .ts extension
  10. "moduleResolution": "Bundler",
  11. "allowImportingTsExtensions": true,
  12. "noEmit": true,
  13. // Allow ts to import js files
  14. "allowJs": true,
  15. "allowSyntheticDefaultImports": true,
  16. "declaration": false,
  17. "noImplicitAny": false,
  18. "resolveJsonModule": true,
  19. "strict": true,
  20. },
  21. "ts-node": {
  22. // these options are overrides used only by ts-node
  23. // same as our --compilerOptions flag and our TS_NODE_COMPILER_OPTIONS environment variable
  24. "compilerOptions": {
  25. "moduleResolution": "node",
  26. "module": "commonjs",
  27. "verbatimModuleSyntax": false
  28. }
  29. }
  30. }