Skip to content

Instantly share code, notes, and snippets.

@agusrichard
Created March 22, 2022 13:45
Show Gist options
  • Save agusrichard/9c6271e8443f8f7ba814fa5bca689ef7 to your computer and use it in GitHub Desktop.
Save agusrichard/9c6271e8443f8f7ba814fa5bca689ef7 to your computer and use it in GitHub Desktop.
{
"compilerOptions": {
/* Visit https://aka.ms/tsconfig.json to read more about this file */
/* Language and Environment */
"target": "es6", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
/* Modules */
"module": "commonjs", /* Specify what module code is generated. */
"rootDir": "./src", /* Specify the root folder within your source files. */
"moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
"baseUrl": ".", /* Specify the base directory to resolve non-relative module names. */
"paths": { /* Specify a set of entries that re-map imports to additional lookup locations. */
"*": [
"node_modules/*"
]
},
"resolveJsonModule": true, /* Enable importing .json files */
/* Emit */
"sourceMap": true, /* Create source map files for emitted JavaScript files. */
"outDir": "./build", /* Specify an output folder for all emitted files. */
/* Interop Constraints */
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
/* Type Checking */
"strict": true, /* Enable all strict type-checking options. */
"skipLibCheck": true /* Skip type checking all .d.ts files. */
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment