diff --git a/packages/common/upgrade/BUILD.bazel b/packages/common/upgrade/BUILD.bazel index 01f378daa1..4a30dfcff2 100644 --- a/packages/common/upgrade/BUILD.bazel +++ b/packages/common/upgrade/BUILD.bazel @@ -15,6 +15,7 @@ ng_module( deps = [ "//packages/common", "//packages/core", + "//packages/upgrade", "//packages/upgrade/static", ], ) diff --git a/packages/common/upgrade/package.json b/packages/common/upgrade/package.json index 769ba43d5d..1321a88448 100644 --- a/packages/common/upgrade/package.json +++ b/packages/common/upgrade/package.json @@ -8,5 +8,8 @@ "esm2015": "../esm2015/upgrade/upgrade.js", "fesm5": "../fesm5/upgrade.js", "fesm2015": "../fesm2015/upgrade.js", - "sideEffects": false + "sideEffects": false, + "peerDependencies": { + "@angular/upgrade": "0.0.0-PLACEHOLDER" + } } \ No newline at end of file diff --git a/packages/common/upgrade/rollup.config.js b/packages/common/upgrade/rollup.config.js index edaa99b4d9..1b5064f046 100644 --- a/packages/common/upgrade/rollup.config.js +++ b/packages/common/upgrade/rollup.config.js @@ -12,6 +12,7 @@ const sourcemaps = require('rollup-plugin-sourcemaps'); const globals = { '@angular/core': 'ng.core', '@angular/common': 'ng.common', + '@angular/common/upgrade': 'ng.common.upgrade', '@angular/upgrade/static': 'ng.upgrade.static' };