2017-09-28 19:18:12 -04: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');
|
2017-09-28 19:18:12 -04:00
|
|
|
|
2017-10-30 13:55:45 -04:00
|
|
|
module.exports = {
|
2017-09-28 19:18:12 -04:00
|
|
|
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',
|
|
|
|
],
|
|
|
|
};
|