Loggest thine Stuff
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.0 KiB

  1. {
  2. "compilerOptions": {
  3. "moduleResolution": "node",
  4. "module": "es2020",
  5. "lib": ["es2020", "DOM"],
  6. "target": "es2020",
  7. /**
  8. svelte-preprocess cannot figure out whether you have a value or a type, so tell TypeScript
  9. to enforce using \`import type\` instead of \`import\` for Types.
  10. */
  11. "importsNotUsedAsValues": "error",
  12. /**
  13. TypeScript doesn't know about import usages in the template because it only sees the
  14. script of a Svelte file. Therefore preserve all value imports. Requires TS 4.5 or higher.
  15. */
  16. "preserveValueImports": true,
  17. "isolatedModules": true,
  18. "resolveJsonModule": true,
  19. /**
  20. To have warnings/errors of the Svelte compiler at the correct position,
  21. enable source maps by default.
  22. */
  23. "sourceMap": true,
  24. "esModuleInterop": true,
  25. "skipLibCheck": true,
  26. "forceConsistentCasingInFileNames": true,
  27. "baseUrl": ".",
  28. "allowJs": true,
  29. "checkJs": true,
  30. "paths": {
  31. "$lib": ["src/lib"],
  32. "$lib/*": ["src/lib/*"]
  33. }
  34. },
  35. "include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.ts", "src/**/*.svelte"]
  36. }