File tree 4 files changed +1
-29
lines changed
4 files changed +1
-29
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ import '../database';
23
23
// TODO(b/158625454): Storage doesn't actually work by default in RN (it uses
24
24
// `atob`). We should provide a RN build that works out of the box.
25
25
import '../storage' ;
26
- import '../firestore' ;
27
26
28
27
firebase . registerVersion ( name , version , 'rn' ) ;
29
28
Original file line number Diff line number Diff line change 3
3
"description" : " A memory-only build of the Cloud Firestore JS SDK." ,
4
4
"main" : " ../dist/index.memory.node.cjs.js" ,
5
5
"main-esm2017" : " ../dist/index.memory.node.esm2017.js" ,
6
- "react-native" : " ../dist/index.memory.rn.esm2017.js" ,
7
6
"browser" : " ../dist/index.memory.cjs.js" ,
8
7
"module" : " ../dist/index.memory.esm.js" ,
9
8
"esm2017" : " ../dist/index.memory.esm2017.js" ,
Original file line number Diff line number Diff line change 43
43
},
44
44
"main" : " dist/index.node.cjs.js" ,
45
45
"main-esm2017" : " dist/index.node.esm2017.js" ,
46
- "react-native" : " dist/index.rn.esm2017.js" ,
47
46
"browser" : " dist/index.cjs.js" ,
48
47
"module" : " dist/index.esm.js" ,
49
48
"esm2017" : " dist/index.esm2017.js" ,
Original file line number Diff line number Diff line change @@ -108,31 +108,6 @@ const reactNativeBuildPlugins = [
108
108
...browserBuildPlugins . slice ( 1 )
109
109
] ;
110
110
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
-
136
111
// MARK: Node builds
137
112
138
113
const nodeBuildPlugins = [
@@ -179,4 +154,4 @@ const nodeBuilds = [
179
154
}
180
155
] ;
181
156
182
- export default [ ...browserBuilds , ...reactNativeBuilds , ... nodeBuilds ] ;
157
+ export default [ ...browserBuilds , ...nodeBuilds ] ;
You can’t perform that action at this time.
0 commit comments