File tree 1 file changed +13
-5
lines changed
1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change 23
23
// When run in google3, original rollup.config.js will have been renamed to rollup-main.config.js.
24
24
import baseBuilds from './rollup-main.config.js' ;
25
25
import license from 'rollup-plugin-license' ;
26
- import gitRev from 'git-rev-sync' ;
27
- import pkg from './package.json' ;
28
26
29
27
const firebaseLicense = license ( {
30
- banner : `@license Firebase v${ pkg . version }
31
- Build: rev-${ gitRev . short ( ) }
32
- Terms: https://firebase.google.com/terms/`
28
+ banner : `Copyright ${ new Date ( ) . getFullYear ( ) } Google Inc.
29
+
30
+ Licensed under the Apache License, Version 2.0 (the "License");
31
+ you may not use this file except in compliance with the License.
32
+ You may obtain a copy of the License at
33
+
34
+ http://www.apache.org/licenses/LICENSE-2.0
35
+
36
+ Unless required by applicable law or agreed to in writing, software
37
+ distributed under the License is distributed on an "AS IS" BASIS,
38
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
39
+ See the License for the specific language governing permissions and
40
+ limitations under the License.`
33
41
} ) ;
34
42
35
43
const buildsWithLicense = baseBuilds . map ( build => {
You can’t perform that action at this time.
0 commit comments