build(common): add upgrade package dependency common/upgrade (#30055)

PR Close #30055
This commit is contained in:
Jason Aden 2019-04-23 07:08:47 -07:00 committed by Ben Lesh
parent ec455e1cf1
commit f185ff3792
3 changed files with 6 additions and 1 deletions

View File

@ -15,6 +15,7 @@ ng_module(
deps = [
"//packages/common",
"//packages/core",
"//packages/upgrade",
"//packages/upgrade/static",
],
)

View File

@ -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"
}
}

View File

@ -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'
};