build(bazel): update to rules_typescript 0.16.1 (#25490)

PR Close #25490
This commit is contained in:
Alex Eagle
2018-08-14 14:07:22 -07:00
committed by Matias Niemelä
parent 3d41739021
commit 22e7f7e99f
5 changed files with 34 additions and 75 deletions

View File

@ -23,9 +23,6 @@ function main(args) {
const data = JSON.parse(fs.readFileSync(input, {encoding: 'utf-8'}));
data['compilerOptions']['target'] = 'es5';
data['bazelOptions']['es5Mode'] = true;
// Enable tsickle for decorator downleveling only
data['bazelOptions']['tsickle'] = true;
data['bazelOptions']['tsickleExternsPath'] = '';
data['compilerOptions']['outDir'] = path.join(data['compilerOptions']['outDir'], newRoot);
if (data['angularCompilerOptions']) {
// Don't enable tsickle's closure conversions