fix(bazel): pass --global option to rollup (#23073)

This fixes the UMD bundles which otherwise don't contain the right global symbols

PR Close #23073
This commit is contained in:
Alex Eagle
2018-03-29 16:24:59 -07:00
committed by Igor Minar
parent 0d9140cdce
commit 45e090b614
3 changed files with 63 additions and 20 deletions

View File

@ -34,6 +34,9 @@ describe('@angular/common ng_package', () => {
]);
});
it('should reference core using global symbol in umd',
() => { expect(shx.cat('bundles/common.umd.js')).toContain('global.ng.core'); });
it('should have right fesm files', () => {
const expected = [
'common.js',

File diff suppressed because one or more lines are too long