diff --git a/packages/zone.js/rollup.config.js b/packages/zone.js/rollup.config.js index 9e7ba9e80d..83b395a8eb 100644 --- a/packages/zone.js/rollup.config.js +++ b/packages/zone.js/rollup.config.js @@ -3,9 +3,9 @@ const commonjs = require('rollup-plugin-commonjs'); // Parse the stamp file produced by Bazel from the version control system let version = ''; -if (bazel_stamp_file) { +if (bazel_version_file) { const versionTag = require('fs') - .readFileSync(bazel_stamp_file, {encoding: 'utf-8'}) + .readFileSync(bazel_version_file, {encoding: 'utf-8'}) .split('\n') .find(s => s.startsWith('BUILD_SCM_VERSION')); // Don't assume BUILD_SCM_VERSION exists diff --git a/packages/zone.js/test/karma_test.bzl b/packages/zone.js/test/karma_test.bzl index 3cee54a72c..611979f597 100644 --- a/packages/zone.js/test/karma_test.bzl +++ b/packages/zone.js/test/karma_test.bzl @@ -1,5 +1,5 @@ load("//tools:defaults.bzl", "rollup_bundle", "ts_library") -load("@npm//@bazel/karma:index.bzl", "karma_web_test_suite") +load("@npm//@bazel/concatjs:index.bzl", "karma_web_test_suite") def karma_test_prepare(name, env_srcs, env_deps, env_entry_point, test_srcs, test_deps, test_entry_point): ts_library(