From 923d0c56e72d0a74a0c4fb0583da83053654e58f Mon Sep 17 00:00:00 2001 From: Jason Aden Date: Wed, 15 Mar 2017 17:14:20 -0700 Subject: [PATCH] fix: correct UMD resolutions for platform-browser_animations (#15190) Fixes #15114 --- packages/platform-browser/animations/rollup.config.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/platform-browser/animations/rollup.config.js b/packages/platform-browser/animations/rollup.config.js index 94a0bb3d0d..e7207f22bb 100644 --- a/packages/platform-browser/animations/rollup.config.js +++ b/packages/platform-browser/animations/rollup.config.js @@ -10,10 +10,12 @@ export default { entry: '../../../dist/packages-dist/platform-browser/@angular/platform-browser/animations.es5.js', dest: '../../../dist/packages-dist/platform-browser/bundles/platform-browser-animations.umd.js', format: 'umd', - moduleName: 'ng.platformBrowser.testing', + moduleName: 'ng.platformBrowser.animations', globals: { '@angular/core': 'ng.core', '@angular/common': 'ng.common', - '@angular/platform-browser': 'ng.platformBrowser' + '@angular/platform-browser': 'ng.platformBrowser', + '@angular/animations': 'ng.animations', + '@angular/animations/browser': 'ng.animations.browser' } };