UNPKG

@agilgur5/tsconfig

Version:

My tsconfig base files, extending @tsconfig/strictest

22 lines (21 loc) 783 B
{ // https://github.com/tsconfig/bases "extends": "@tsconfig/strictest/tsconfig.json", // exclude node_modules (the default), dist dir, coverage dir "exclude": ["node_modules/", "dist/", "coverage/"], // see https://www.typescriptlang.org/tsconfig to better understand tsconfigs "compilerOptions": { // output to dist/ dir "outDir": "dist/", // output .js.map sourcemap files for consumers / debugging "sourceMap": true, // use Node's module resolution algorithm, instead of the legacy TS one "moduleResolution": "node", // resolve JSON files "resolveJsonModule": true, // transpile JSX to React.createElement "jsx": "react", // ignored during builds, but commonly used when type-checking with `tsc` "noEmit": true, }, }