angular-docs-cn/packages/service-worker/cli/rollup-cli.config.js

22 lines
536 B
JavaScript
Raw Normal View History

/**
* @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
*/
import resolve from 'rollup-plugin-node-resolve';
export default {
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',
],
};