Skip to content

Commit

Permalink
⏪ Revert "⬆️ Update firebase"
Browse files Browse the repository at this point in the history
This reverts commit bc4c908
  • Loading branch information
leolabs committed Jul 3, 2018
1 parent 468da56 commit 43b813b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
8 changes: 4 additions & 4 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ export default {
}

const fixedPackages = [
'firebase/app',
'firebase/database',
'firebase/functions',
'firebase/util',
'@firebase/app',
'@firebase/database',
'@firebase/functions',
'@firebase/util',
];
if (fixedPackages.indexOf(pkg.name) !== -1) {
pkg['browser'] = pkg.module;
Expand Down
10 changes: 4 additions & 6 deletions src/util/firebase.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
// tslint:disable:ordered-imports

import firebase from '@firebase/app';
import '@firebase/auth';
import '@firebase/database';
import { DataSnapshot, Query } from '@firebase/database-types';
import firebase from 'firebase/app/dist/index.esm';
import 'firebase/auth';
import 'firebase/database';
import 'firebase/functions';
import '@firebase/functions';
import { eventChannel } from 'redux-saga';

import firebaseConfig from '../../firebase.config.js';
Expand Down

0 comments on commit 43b813b

Please sign in to comment.