File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,23 +30,9 @@ const plugins = [
3030 } ) ,
3131 nodeBuiltins ( ) ,
3232 nodeResolve ( {
33+ module : true ,
34+ jsnext : true ,
3335 browser : true ,
34- customResolveOptions : {
35- packageFilter : pkg => {
36- if ( pkg [ 'module' ] ) {
37- pkg [ 'main' ] = pkg [ 'module' ] ;
38- } else if ( pkg [ 'jsnext:main' ] ) {
39- pkg [ 'main' ] = pkg [ 'jsnext:main' ] ;
40- }
41-
42- const fixedPackages = [ '@firebase/util' , '@firebase/database' ] ;
43- if ( fixedPackages . indexOf ( pkg . name ) !== - 1 ) {
44- pkg [ 'browser' ] = pkg . main ;
45- }
46-
47- return pkg ;
48- } ,
49- } ,
5036 } ) ,
5137 typescript ( ) ,
5238 nodeGlobals ( ) ,
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ function* logout() {
215215 } ) ) ;
216216 }
217217
218- localStorage . removeItem ( LOCALSTORAGE_KEY ) ;
218+ yield call ( AuthData . remove , LOCALSTORAGE_KEY ) ;
219219 yield firebase . auth ! ( ) . signOut ( ) ;
220220 yield put ( checkLoginStatus ( ) ) ;
221221}
You can’t perform that action at this time.
0 commit comments