File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ const componentBuilds = pkg.components
143
143
144
144
const firestoreMinifiedBuild = {
145
145
input : `firestore/index.min.ts` ,
146
- output : createUmdOutputConfig ( `firebase-firestore- min.js` ) ,
146
+ output : createUmdOutputConfig ( `firebase-firestore. min.js` ) ,
147
147
plugins : [ ...plugins , uglify ( ) ] ,
148
148
external : [ '@firebase/app' ]
149
149
} ;
Original file line number Diff line number Diff line change @@ -79,7 +79,6 @@ const es5MinifiedBuildPlugins = [
79
79
} ) ,
80
80
json ( ) ,
81
81
terser ( terserOptions ) ,
82
- replace ( { delimiters : [ '' , '' ] , '__PRIVATE_' : '' } )
83
82
] ;
84
83
85
84
const es5Builds = [
@@ -155,8 +154,7 @@ const es2017MinifiedBuildPlugins = [
155
154
transformers
156
155
} ) ,
157
156
json ( { preferConst : true } ) ,
158
- terser ( terserOptions ) ,
159
- replace ( { delimiters : [ '' , '' ] , '__PRIVATE_' : '' } )
157
+ terser ( terserOptions )
160
158
] ;
161
159
162
160
const es2017Builds = [
Original file line number Diff line number Diff line change @@ -44,8 +44,10 @@ class RenameInternals {
44
44
visitNode ( node : ts . Node ) : ts . Node {
45
45
if ( ts . isIdentifier ( node ) ) {
46
46
const name = node . escapedText . toString ( ) ;
47
- if ( ! this . publicApi . has ( name )
48
- && blacklist . indexOf ( node . escapedText . toString ( ) ) === - 1 ) {
47
+ if (
48
+ ! this . publicApi . has ( name ) &&
49
+ blacklist . indexOf ( node . escapedText . toString ( ) ) === - 1
50
+ ) {
49
51
return ts . createIdentifier ( this . prefix + name ) ;
50
52
}
51
53
}
You can’t perform that action at this time.
0 commit comments