Skip to content

Commit 709eaab

Browse files
Merge
2 parents 083893c + 23e8971 commit 709eaab

File tree

4 files changed

+1
-29
lines changed

4 files changed

+1
-29
lines changed

packages/firebase/src/index.rn.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import '../database';
2323
// TODO(b/158625454): Storage doesn't actually work by default in RN (it uses
2424
// `atob`). We should provide a RN build that works out of the box.
2525
import '../storage';
26-
import '../firestore';
2726

2827
firebase.registerVersion(name, version, 'rn');
2928

packages/firestore/memory/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"description": "A memory-only build of the Cloud Firestore JS SDK.",
44
"main": "../dist/index.memory.node.cjs.js",
55
"main-esm2017": "../dist/index.memory.node.esm2017.js",
6-
"react-native": "../dist/index.memory.rn.esm2017.js",
76
"browser": "../dist/index.memory.cjs.js",
87
"module": "../dist/index.memory.esm.js",
98
"esm2017": "../dist/index.memory.esm2017.js",

packages/firestore/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
},
4444
"main": "dist/index.node.cjs.js",
4545
"main-esm2017": "dist/index.node.esm2017.js",
46-
"react-native": "dist/index.rn.esm2017.js",
4746
"browser": "dist/index.cjs.js",
4847
"module": "dist/index.esm.js",
4948
"esm2017": "dist/index.esm2017.js",

packages/firestore/rollup.config.es2017.js

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -108,31 +108,6 @@ const reactNativeBuildPlugins = [
108108
...browserBuildPlugins.slice(1)
109109
];
110110

111-
const reactNativeBuilds = [
112-
// Persistence build
113-
{
114-
input: 'index.rn.ts',
115-
output: {
116-
file: pkg['react-native'],
117-
format: 'es',
118-
sourcemap: true
119-
},
120-
plugins: reactNativeBuildPlugins,
121-
external: resolveBrowserExterns
122-
},
123-
// Memory-only build
124-
{
125-
input: 'index.rn.memory.ts',
126-
output: {
127-
file: path.resolve('./memory', memoryPkg['react-native']),
128-
format: 'es',
129-
sourcemap: true
130-
},
131-
plugins: reactNativeBuildPlugins,
132-
external: resolveBrowserExterns
133-
}
134-
];
135-
136111
// MARK: Node builds
137112

138113
const nodeBuildPlugins = [
@@ -179,4 +154,4 @@ const nodeBuilds = [
179154
}
180155
];
181156

182-
export default [...browserBuilds, ...reactNativeBuilds, ...nodeBuilds];
157+
export default [...browserBuilds, ...nodeBuilds];

0 commit comments

Comments
 (0)