build: update to rules_nodejs 0.38 (#32889)

PR Close #32889
This commit is contained in:
Alex Eagle
2019-09-27 15:49:59 -07:00
committed by Alex Rickabaugh
parent 2265cb5938
commit f783244ad1
20 changed files with 122 additions and 50 deletions

View File

@ -44,7 +44,7 @@ function main(args) {
// ngc-wrapped is expecting POSIX paths and the TypeScript Bazel rules by default only pass
// POSIX paths as well.
angularCompilerOptions['expectedOut'] = angularCompilerOptions['expectedOut'].map(
f => f.replace(/\.closure\.js$/, '.js').replace(binDir, newOutputBase));
f => f.replace(/\.mjs$/, '.js').replace(binDir, newOutputBase));
}
fs.writeFileSync(output, JSON.stringify(data));
}