1
1
/**
2
2
* @license
3
- * Copyright 2019 Google LLC
3
+ * Copyright 2024 Google LLC
4
4
*
5
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
6
* you may not use this file except in compliance with the License.
@@ -28,8 +28,11 @@ const closureBlobsDir = '../../node_modules/closure-net/firebase/';
28
28
const es2017BuildPlugins = [
29
29
copy ( {
30
30
targets : [
31
- { src : join ( closureBlobsDir , 'webchannel_blob_*.*' ) , dest : 'dist/webchannel-blob' } ,
32
- { src : join ( closureBlobsDir , 'bloom_blob_*.*' ) , dest : 'dist/bloom-blob' } ,
31
+ {
32
+ src : join ( closureBlobsDir , 'webchannel_blob_*.*' ) ,
33
+ dest : 'dist/webchannel-blob'
34
+ } ,
35
+ { src : join ( closureBlobsDir , 'bloom_blob_*.*' ) , dest : 'dist/bloom-blob' }
33
36
]
34
37
} ) ,
35
38
typescriptPlugin ( {
@@ -54,10 +57,7 @@ const esm2017Builds = [
54
57
format : 'es' ,
55
58
sourcemap : true
56
59
} ,
57
- plugins : [
58
- ...es2017BuildPlugins ,
59
- emitModulePackageFile ( )
60
- ]
60
+ plugins : [ ...es2017BuildPlugins , emitModulePackageFile ( ) ]
61
61
} ,
62
62
{
63
63
input : join ( closureBlobsDir , 'bloom_blob_es2018.js' ) ,
@@ -66,10 +66,7 @@ const esm2017Builds = [
66
66
format : 'es' ,
67
67
sourcemap : true
68
68
} ,
69
- plugins : [
70
- ...es2017BuildPlugins ,
71
- emitModulePackageFile ( )
72
- ]
69
+ plugins : [ ...es2017BuildPlugins , emitModulePackageFile ( ) ]
73
70
}
74
71
] ;
75
72
0 commit comments