2017-03-02 12:12:46 -08: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 10:55:45 -07:00
|
|
|
const resolve = require('rollup-plugin-node-resolve');
|
|
|
|
const sourcemaps = require('rollup-plugin-sourcemaps');
|
2017-05-23 13:01:39 -07:00
|
|
|
|
|
|
|
const globals = {
|
|
|
|
'@angular/core': 'ng.core'
|
|
|
|
};
|
|
|
|
|
2017-10-30 10:55:45 -07:00
|
|
|
module.exports = {
|
2018-03-15 14:13:13 -07:00
|
|
|
entry: '../../../dist/packages-dist/upgrade/fesm5/static.js',
|
2017-03-02 12:12:46 -08:00
|
|
|
dest: '../../../dist/packages-dist/upgrade/bundles/upgrade-static.umd.js',
|
|
|
|
format: 'umd',
|
2017-01-30 23:28:56 +00:00
|
|
|
exports: 'named',
|
2017-09-28 09:29:22 -07:00
|
|
|
amd: {id: '@angular/upgrade/static'},
|
2017-03-02 12:12:46 -08:00
|
|
|
moduleName: 'ng.upgrade.static',
|
2017-08-02 19:15:30 -07:00
|
|
|
plugins: [resolve(), sourcemaps()],
|
2017-05-23 13:01:39 -07:00
|
|
|
external: Object.keys(globals),
|
|
|
|
globals: globals
|
2017-03-02 12:12:46 -08:00
|
|
|
};
|