Skip to content
Closed
Prev Previous commit
Next Next commit
Rebuild without rn external config.
  • Loading branch information
prescottprue committed Mar 12, 2017
commit 5bd329a7383efcdab0cd4b528d21e30b659efb0a
2 changes: 1 addition & 1 deletion dist/react-redux-firebase.js
Original file line number Diff line number Diff line change
Expand Up @@ -5928,7 +5928,7 @@ return /******/ (function(modules) { // webpackBootstrap
firebase.database.enableLogging(configs.enableLogging);
}
if (configs.rn) {
var AsyncStorage = config.rn.AsyncStorage;
var AsyncStorage = configs.rn.AsyncStorage;
firebase.INTERNAL.extendNamespace({
'INTERNAL': {
'reactNative': {
Expand Down
2 changes: 1 addition & 1 deletion dist/react-redux-firebase.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion es/compose.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ exports.default = function (fbConfig, otherConfig) {
firebase.database.enableLogging(configs.enableLogging);
}
if (configs.rn) {
var AsyncStorage = config.rn.AsyncStorage;
var AsyncStorage = configs.rn.AsyncStorage;
firebase.INTERNAL.extendNamespace({
'INTERNAL': {
'reactNative': {
Expand Down
2 changes: 1 addition & 1 deletion lib/compose.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ exports.default = function (fbConfig, otherConfig) {
firebase.database.enableLogging(configs.enableLogging);
}
if (configs.rn) {
var AsyncStorage = config.rn.AsyncStorage;
var AsyncStorage = configs.rn.AsyncStorage;
firebase.INTERNAL.extendNamespace({
'INTERNAL': {
'reactNative': {
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@
"firebase": "3.7.1",
"immutable": "^3.8.1",
"jwt-decode": "^2.1.0",
"lodash": "^4.17.4",
"react-native": "^0.42.0"
"lodash": "^4.17.4"
},
"peerDependencies": {
"react": "^0.14.6 || ^15.0.0"
Expand Down
6 changes: 0 additions & 6 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ const config = {
commonjs2: 'react',
amd: 'react',
root: 'React'
},
'react-native': {
commonjs: 'react-native',
commonjs2: 'react-native',
amd: 'react-native',
root: 'ReactNative'
}
},
plugins: [
Expand Down