Skip to content

Commit ecf9dd0

Browse files
[AUTOMATED]: Prettier Code Styling
1 parent 8037b6b commit ecf9dd0

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

packages/firebase/rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ const componentBuilds = pkg.components
143143

144144
const firestoreMinifiedBuild = {
145145
input: `firestore/index.min.ts`,
146-
output: createUmdOutputConfig(`firebase-firestore-min.js`),
146+
output: createUmdOutputConfig(`firebase-firestore.min.js`),
147147
plugins: [...plugins, uglify()],
148148
external: ['@firebase/app']
149149
};

packages/firestore/rollup.config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ const es5MinifiedBuildPlugins = [
7979
}),
8080
json(),
8181
terser(terserOptions),
82-
replace({ delimiters: ['', ''], '__PRIVATE_': ''})
8382
];
8483

8584
const es5Builds = [
@@ -155,8 +154,7 @@ const es2017MinifiedBuildPlugins = [
155154
transformers
156155
}),
157156
json({ preferConst: true }),
158-
terser(terserOptions),
159-
replace({ delimiters: ['', ''], '__PRIVATE_': ''})
157+
terser(terserOptions)
160158
];
161159

162160
const es2017Builds = [

packages/firestore/scripts/rename-internals.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,10 @@ class RenameInternals {
4444
visitNode(node: ts.Node): ts.Node {
4545
if (ts.isIdentifier(node)) {
4646
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+
) {
4951
return ts.createIdentifier(this.prefix + name);
5052
}
5153
}

0 commit comments

Comments
 (0)