File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
packages/webchannel-wrapper Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,8 @@ const rollupSourcemaps = require('rollup-plugin-sourcemaps');
27
27
28
28
// The optimization level for the JS compiler.
29
29
// Valid levels: WHITESPACE_ONLY, SIMPLE_OPTIMIZATIONS, ADVANCED_OPTIMIZATIONS.
30
- // TODO: Add ability to pass this in as a flag.
31
30
const OPTIMIZATION_LEVEL = 'ADVANCED_OPTIMIZATIONS' ;
32
31
33
- // For minified builds, wrap the output so we avoid leaking global variables.
34
32
// For minified builds, wrap the output so we avoid leaking global variables.
35
33
const CJS_WRAPPER_PREFIX = `(function() {var firebase = require('@firebase/app').default;` ;
36
34
const CJS_WRAPPER_SUFFIX =
@@ -56,7 +54,7 @@ const closureDefines = [
56
54
] ;
57
55
58
56
/**
59
- * Builds the core Firebase-auth JS .
57
+ * Generates a closure compiler build of webchannel-wrapper .
60
58
* @param {string } filename name of the generated file
61
59
* @param {string } prefix prefix to the compiled code
62
60
* @param {string } suffix suffix to the compiled code
Original file line number Diff line number Diff line change 17
17
"license" : " Apache-2.0" ,
18
18
"devDependencies" : {
19
19
"google-closure-compiler" : " 20200112.0.0" ,
20
- "google-closure-library" : " 20200224 .0.0" ,
20
+ "google-closure-library" : " 20200112 .0.0" ,
21
21
"gulp" : " 4.0.2" ,
22
22
"gulp-sourcemaps" : " 2.6.5" ,
23
23
"rollup" : " 2.0.6" ,
You can’t perform that action at this time.
0 commit comments