refactor: make all rollup config ES5 compatible (#20028)
So they can be required by other Node scripts. PR Close #20028
This commit is contained in:

committed by
Matias Niemelä

parent
f1a9e1e361
commit
b6abcb2500
@ -6,9 +6,9 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
import resolve from 'rollup-plugin-node-resolve';
|
||||
const resolve = require('rollup-plugin-node-resolve');
|
||||
|
||||
export default {
|
||||
module.exports = {
|
||||
entry: '../../dist/all/@angular/service-worker/cli-custom/main.js',
|
||||
dest: '../../dist/packages-dist/service-worker/ngsw-config-tmp.js',
|
||||
format: 'iife',
|
||||
|
Reference in New Issue
Block a user