New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bazel schematics for Angular CLI throws tsconfig options mismatch #28034

Open
mgechev opened this Issue Jan 10, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@mgechev
Copy link
Member

mgechev commented Jan 10, 2019

馃悶 bug report

Affected Package

The issue is caused by package `@angular/bazel`

Is this a regression?

No

Description

Bazel overrides some of the properties set in tsconfig.json. We should remove them from tsconfig.json:

馃敩 Minimal Reproduction

ng new bzl --collection=@angular/bazel
cd bzl && yarn
bazel build //src:src

馃敟 Exception or Error

WARNING: your tsconfig.json file specifies options which are overridden by Bazel:
 - compilerOptions.target and compilerOptions.module are controlled by downstream dependencies, such as ts_devserver
 - compilerOptions.typeRoots is always set to the @types subdirectory of the node_modules attribute
 - compilerOptions.rootDir and compilerOptions.baseUrl are always the workspace root directory

馃實 Your Environment

Angular Version:

7.2.0

@mgechev mgechev added the comp: bazel label Jan 10, 2019

@ngbot ngbot bot added this to the needsTriage milestone Jan 10, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment