// TypeScript config file that is used to compile the material-experimental's ES2015 package through
// Gulp. As the long term goal is to switch to Bazel, and we already want to run tests with Bazel,
// we need to ensure the TypeScript build options are the same for Gulp and Bazel. We achieve this
// by extending the generic Bazel build tsconfig which will be used for each entry-point.
{
  "extends": "../bazel-tsconfig-build.json",
  "compilerOptions": {
    "baseUrl": ".",
    "outDir": "../../dist/packages/material-experimental",
    "rootDir": ".",
    "rootDirs": [
      ".",
      "../../dist/packages/material-experimental"
    ],
    "paths": {
      "@angular/cdk/*": ["../../dist/packages/cdk/*"],
      "@angular/cdk-experimental/*": ["../../dist/packages/cdk-experimental/*"],
      "@angular/material/*": ["../../dist/packages/material/*"],
      "@angular/material-experimental/*": ["../../dist/packages/material-experimental/*"]
    }
  },
  "files": [
    "public-api.ts",
    "typings.d.ts"
  ],
  "angularCompilerOptions": {
    "annotateForClosureCompiler": true,
    "strictMetadataEmit": true,
    "flatModuleOutFile": "index.js",
    "flatModuleId": "@angular/material-experimental",
    "skipTemplateCodegen": true,
    "fullTemplateTypeCheck": true
  }
}
