2017-02-28 20:49:37 -05:00
|
|
|
/**
|
|
|
|
* @license
|
|
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
|
|
*
|
|
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
|
|
* found in the LICENSE file at https://angular.io/license
|
|
|
|
*/
|
|
|
|
|
2017-10-30 13:55:45 -04:00
|
|
|
const resolve = require('rollup-plugin-node-resolve');
|
|
|
|
const sourcemaps = require('rollup-plugin-sourcemaps');
|
2017-05-23 16:01:39 -04:00
|
|
|
|
|
|
|
const globals = {
|
|
|
|
'@angular/core': 'ng.core',
|
|
|
|
'@angular/common': 'ng.common',
|
|
|
|
'@angular/animations': 'ng.animations'
|
|
|
|
};
|
|
|
|
|
2017-10-30 13:55:45 -04:00
|
|
|
module.exports = {
|
2018-03-15 17:13:13 -04:00
|
|
|
entry: '../../../dist/packages-dist/animations/fesm5/browser.js',
|
2017-02-28 20:49:37 -05:00
|
|
|
dest: '../../../dist/packages-dist/animations/bundles/animations-browser.umd.js',
|
|
|
|
format: 'umd',
|
2017-01-30 18:28:56 -05:00
|
|
|
exports: 'named',
|
2017-09-28 12:29:22 -04:00
|
|
|
amd: {id: '@angular/animations/browser'},
|
2017-02-28 20:49:37 -05:00
|
|
|
moduleName: 'ng.animations.browser',
|
2017-08-02 22:15:30 -04:00
|
|
|
plugins: [resolve(), sourcemaps()],
|
2017-05-23 16:01:39 -04:00
|
|
|
external: Object.keys(globals),
|
|
|
|
globals: globals
|
2017-02-28 20:49:37 -05:00
|
|
|
};
|