build: enable bundle_dts for core package (#28884)

`ng_module` will now include an `src/r3_symbol.d.ts` when compiling the core package under `ngc` togather with `dts bundling`, This is due that `ngcc` relies on this file to be present, but the `r3_symbols` file which is not part of our public api.

With this change, we can now ship an addition dts file which is flattened.

PR Close #28884
This commit is contained in:
Alan
2019-03-06 09:04:18 +01:00
committed by Kara Erickson
parent a746b5b1ea
commit 7b0e9eddd1
7 changed files with 83 additions and 54 deletions

View File

@ -9,8 +9,6 @@ ng_module(
srcs = glob(
["**/*.ts"],
),
# PR to support this https://github.com/angular/angular/pull/28884
bundle_dts = False,
deps = [
"//packages:types",
"//packages/compiler",