Webpack-React-TS-Template/tsconfig.json

15 lines
827 B
JSON

{
"compilerOptions": {
"jsx": "react-jsx" /* IMPORTANT! - this allows our JSX to be transpiled correctly */,
"target": "es5" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
"esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */,
"allowSyntheticDefaultImports": true /* Need for Webpack config file */,
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
"strict": true /* Enable all strict type-checking options. */,
"skipLibCheck": true /* Skip type checking all .d.ts files. */,
"outDir": "dist",
"moduleResolution": "node"
},
"include": ["**/*.ts", "**/*.tsx"]
}