Skip to content

Commit 2827845

Browse files
josephperrottalxhub
authored andcommitted
fix(zone.js): update build tooling for latest changes in rules_nodejs (#40710)
Update the zone.js build tooling to handle the changes in the latest version of rules_nodejs. PR Close #40710
1 parent b8b8535 commit 2827845

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/zone.js/rollup.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ const commonjs = require('rollup-plugin-commonjs');
33

44
// Parse the stamp file produced by Bazel from the version control system
55
let version = '<unknown>';
6-
if (bazel_stamp_file) {
6+
if (bazel_version_file) {
77
const versionTag = require('fs')
8-
.readFileSync(bazel_stamp_file, {encoding: 'utf-8'})
8+
.readFileSync(bazel_version_file, {encoding: 'utf-8'})
99
.split('\n')
1010
.find(s => s.startsWith('BUILD_SCM_VERSION'));
1111
// Don't assume BUILD_SCM_VERSION exists

packages/zone.js/test/karma_test.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
load("//tools:defaults.bzl", "rollup_bundle", "ts_library")
2-
load("@npm//@bazel/karma:index.bzl", "karma_web_test_suite")
2+
load("@npm//@bazel/concatjs:index.bzl", "karma_web_test_suite")
33

44
def karma_test_prepare(name, env_srcs, env_deps, env_entry_point, test_srcs, test_deps, test_entry_point):
55
ts_library(

0 commit comments

Comments
 (0)