Home / File/ tsconfig.json — vite Source File

tsconfig.json — vite Source File

Architecture documentation for tsconfig.json, a json file in the vite codebase.

Entity Profile

Source Code

{
  "extends": "../../tsconfig.base.json",
  "include": ["./", "../module-runner", "../types"],
  "exclude": ["**/fixtures", "**/__tests__", "**/__tests_dts__"],
  "compilerOptions": {
    // https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping#node-20
    "lib": ["ES2023", "DOM"], // DOM because we have client code that gets inlined via function.toString()
    "target": "ES2023",
    "skipLibCheck": true, // lib check is done on final types
    "stripInternal": true,
    "paths": {
      "vite/module-runner": ["../module-runner"]
    }
  }
}

Frequently Asked Questions

What does tsconfig.json do?
tsconfig.json is a source file in the vite codebase, written in json.
Where is tsconfig.json in the architecture?
tsconfig.json is located at packages/vite/src/node/tsconfig.json (directory: packages/vite/src/node).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free