Skip to content

Commit

Permalink
build: only include `packages/angular_devkit/build_angular/src/typing…
Browse files Browse the repository at this point in the history
…s.d.ts` during bazel builds

`packages/angular_devkit/build_angular/src/typings.d.ts` is only needed for a Bazel build to workaround bazel-contrib/rules_nodejs#1033

Including this typings in a non Bazel build creates broken triple slash references https://unpkg.com/browse/@angular-devkit/[email protected]/src/utils/process-bundle.d.ts
  • Loading branch information
alan-agius4 authored and filipesilva committed Oct 14, 2020
1 parent 4e22443 commit b57f5b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"suppressTsconfigOverrideWarnings": true
},
"exclude": [
"packages/angular_devkit/build_angular/src/typings.d.ts",
"bazel-out/**/*",
"dist/**/*",
"dist-schema/**",
Expand Down

0 comments on commit b57f5b1

Please sign in to comment.