2017-08-02 22:15:30 -04:00
|
|
|
/**
|
|
|
|
* Root tsconfig file for use building all Angular packages. Note there is no rootDir
|
|
|
|
* and therefore any tsconfig in the package directory will need to define its own
|
|
|
|
* rootDir.
|
|
|
|
*/
|
|
|
|
{
|
|
|
|
"compilerOptions": {
|
|
|
|
"declaration": true,
|
|
|
|
"stripInternal": true,
|
|
|
|
"noImplicitAny": true,
|
|
|
|
"strictNullChecks": true,
|
|
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
"moduleResolution": "node",
|
|
|
|
"module": "es2015",
|
|
|
|
"target": "es2015",
|
|
|
|
"lib": ["es2015", "dom"],
|
|
|
|
"skipLibCheck": true,
|
|
|
|
// don't auto-discover @types/node, it results in a ///<reference in the .d.ts output
|
|
|
|
"types": [],
|
|
|
|
"experimentalDecorators": true,
|
2017-09-08 21:40:32 -04:00
|
|
|
// This is needed due to https://github.com/Microsoft/TypeScript/issues/17516.
|
|
|
|
// As tsickle will lower decorators before TS, this is not a problem for our build.
|
|
|
|
"emitDecoratorMetadata": true,
|
2017-08-02 22:15:30 -04:00
|
|
|
"sourceMap": true,
|
|
|
|
"inlineSources": true
|
|
|
|
}
|
|
|
|
}
|