Skip to content

Commit cdf7d75

Browse files
committed
formatting
1 parent 1f64d7d commit cdf7d75

File tree

2 files changed

+25
-11
lines changed

2 files changed

+25
-11
lines changed

packages/webchannel-wrapper/empty.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/**
2+
* @license
3+
* Copyright 2024 Google LLC
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
118
/**
219
* This package has no main entry point and only allows imports from its
320
* two subpaths. This file is provided for the top-level package.json

packages/webchannel-wrapper/rollup.config.js

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @license
3-
* Copyright 2019 Google LLC
3+
* Copyright 2024 Google LLC
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -28,8 +28,11 @@ const closureBlobsDir = '../../node_modules/closure-net/firebase/';
2828
const es2017BuildPlugins = [
2929
copy({
3030
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' }
3336
]
3437
}),
3538
typescriptPlugin({
@@ -54,10 +57,7 @@ const esm2017Builds = [
5457
format: 'es',
5558
sourcemap: true
5659
},
57-
plugins: [
58-
...es2017BuildPlugins,
59-
emitModulePackageFile()
60-
]
60+
plugins: [...es2017BuildPlugins, emitModulePackageFile()]
6161
},
6262
{
6363
input: join(closureBlobsDir, 'bloom_blob_es2018.js'),
@@ -66,10 +66,7 @@ const esm2017Builds = [
6666
format: 'es',
6767
sourcemap: true
6868
},
69-
plugins: [
70-
...es2017BuildPlugins,
71-
emitModulePackageFile()
72-
]
69+
plugins: [...es2017BuildPlugins, emitModulePackageFile()]
7370
}
7471
];
7572

0 commit comments

Comments
 (0)