mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 18:19:40 +00:00
25 lines
761 B
JSON
25 lines
761 B
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"moduleResolution": "node",
|
|
"target": "es5",
|
|
"jsx": "react",
|
|
"experimentalDecorators": true,
|
|
"sourceMap": true,
|
|
"skipDefaultLibCheck": true,
|
|
"lib": ["es6", "dom"],
|
|
"types": [ "webpack-env" ],
|
|
"paths": {
|
|
// Fix "Duplicate identifier" errors caused by multiple dependencies fetching their own copies of type definitions.
|
|
// We tell TypeScript which type definitions module to treat as the canonical one (instead of combining all of them).
|
|
"history": ["./node_modules/@types/history/index"],
|
|
"redux": ["./node_modules/@types/redux/index"],
|
|
"react": ["./node_modules/@types/react/index"]
|
|
}
|
|
},
|
|
"exclude": [
|
|
"bin",
|
|
"node_modules"
|
|
]
|
|
}
|