typescript cannot write file because it would overwrite input file code example
Example: typescript cannot write file because it would overwrite input file
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"allowJs": true,
"jsx": "react",
"strict": true,
"noImplicitAny": true,
"typeRoots": [
"src/@typings",
"src/actions/@types",
"src/components/@types",
"src/reducers/@types",
"node_modules/@types"
],
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"outDir": "./build",
},
"include": ["./src/**/*"],
"exclude": ["node_modules", "build", "public"],
}