build: remove unused rollup.config.js files (#28646)

Since we build and publish the individual packages
using Bazel and `build.sh` has been removed, we can
safely remove the `rollup.config.js` files which are no
longer needed because the `ng_package` bazel rule
automatically handles the rollup settings and globals.

PR Close #28646
This commit is contained in:
Paul Gschwendtner
2019-02-13 20:16:35 +01:00
committed by Miško Hevery
parent 63e5d2787b
commit 7cbc36fdac
40 changed files with 1 additions and 1272 deletions

View File

@ -1,26 +0,0 @@
/**
* @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
*/
const resolve = require('rollup-plugin-node-resolve');
const sourcemaps = require('rollup-plugin-sourcemaps');
const globals = {
'@angular/core': 'ng.core'
};
module.exports = {
entry: '../../../dist/packages-dist/upgrade/fesm5/static.js',
dest: '../../../dist/packages-dist/upgrade/bundles/upgrade-static.umd.js',
format: 'umd',
exports: 'named',
amd: {id: '@angular/upgrade/static'},
moduleName: 'ng.upgrade.static',
plugins: [resolve(), sourcemaps()],
external: Object.keys(globals),
globals: globals
};