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:

committed by
Miško Hevery

parent
63e5d2787b
commit
7cbc36fdac
@ -1,21 +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');
|
||||
|
||||
module.exports = {
|
||||
entry: '../../dist/all/@angular/service-worker/cli-custom/main.js',
|
||||
dest: '../../dist/packages-dist/service-worker/ngsw-config-tmp.js',
|
||||
format: 'iife',
|
||||
plugins: [resolve()],
|
||||
external: [
|
||||
'fs',
|
||||
'path',
|
||||
'@angular/service-worker/config',
|
||||
],
|
||||
};
|
@ -1,23 +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 = {};
|
||||
|
||||
module.exports = {
|
||||
entry: '../../../dist/packages-dist/service-worker/fesm5/config.js',
|
||||
dest: '../../../dist/packages-dist/service-worker/bundles/service-worker-config.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
moduleName: 'ng.serviceWorker.config',
|
||||
plugins: [resolve(), sourcemaps()],
|
||||
external: Object.keys(globals),
|
||||
globals: globals
|
||||
};
|
@ -1,28 +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',
|
||||
'@angular/common': 'ng.common',
|
||||
'rxjs': 'rxjs',
|
||||
'rxjs/operators': 'rxjs.operators',
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
entry: '../../dist/packages-dist/service-worker/fesm5/service-worker.js',
|
||||
dest: '../../dist/packages-dist/service-worker/bundles/service-worker.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
moduleName: 'ng.serviceWorker',
|
||||
plugins: [resolve(), sourcemaps()],
|
||||
external: Object.keys(globals),
|
||||
globals: globals
|
||||
};
|
@ -1,13 +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
|
||||
*/
|
||||
|
||||
export default {
|
||||
entry: '../../dist/all/@angular/service-worker/worker-es2017/main.js',
|
||||
dest: '../../dist/packages-dist/service-worker/ngsw-worker.js',
|
||||
format: 'iife',
|
||||
};
|
Reference in New Issue
Block a user