File tree Expand file tree Collapse file tree 4 files changed +1
-29
lines changed Expand file tree Collapse file tree 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 @@ -100,31 +100,6 @@ const browserBuilds = [
100
100
}
101
101
] ;
102
102
103
- const reactNativeBuilds = [
104
- // Persistence build
105
- {
106
- input : 'index.rn.ts' ,
107
- output : {
108
- file : pkg [ 'react-native' ] ,
109
- format : 'es' ,
110
- sourcemap : true
111
- } ,
112
- plugins : browserBuildPlugins ,
113
- external : resolveBrowserExterns
114
- } ,
115
- // Memory-only build
116
- {
117
- input : 'index.rn.memory.ts' ,
118
- output : {
119
- file : path . resolve ( './memory' , memoryPkg [ 'react-native' ] ) ,
120
- format : 'es' ,
121
- sourcemap : true
122
- } ,
123
- plugins : browserBuildPlugins ,
124
- external : resolveBrowserExterns
125
- }
126
- ] ;
127
-
128
103
// MARK: Node builds
129
104
130
105
const nodeBuildPlugins = [
@@ -170,4 +145,4 @@ const nodeBuilds = [
170
145
}
171
146
] ;
172
147
173
- export default [ ...browserBuilds , ...reactNativeBuilds , ... nodeBuilds ] ;
148
+ export default [ ...browserBuilds , ...nodeBuilds ] ;
You can’t perform that action at this time.
0 commit comments