Skip to content

Commit

Permalink
chore(build): fix rn0.42 babel ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
seavan committed Mar 2, 2017
1 parent d509ac8 commit 99f340a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 0 additions & 4 deletions ios/peeriomobile.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1474,7 +1474,6 @@
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
PROVISIONING_PROFILE_SPECIFIER = "";
SYMROOT = build/Build/Products;
};
name = Debug;
};
Expand Down Expand Up @@ -1537,7 +1536,6 @@
);
PRODUCT_BUNDLE_IDENTIFIER = com.expandoo;
PRODUCT_NAME = "$(TARGET_NAME)";
SYMROOT = build/Build/Products;
};
name = Release;
};
Expand Down Expand Up @@ -1597,7 +1595,6 @@
PRODUCT_NAME = peeriomobile;
PROVISIONING_PROFILE = "1f70bad6-eabe-4771-adb8-bb46b73b0b2e";
PROVISIONING_PROFILE_SPECIFIER = "com.peerio-new";
SYMROOT = build/Build/Products;
};
name = Debug;
};
Expand Down Expand Up @@ -1656,7 +1653,6 @@
PRODUCT_NAME = peeriomobile;
PROVISIONING_PROFILE = "1f70bad6-eabe-4771-adb8-bb46b73b0b2e";
PROVISIONING_PROFILE_SPECIFIER = "com.peerio-new";
SYMROOT = build/Build/Products;
};
name = Release;
};
Expand Down
5 changes: 3 additions & 2 deletions shim.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ if (!Uint8Array.prototype.join) {
}

// global.location = global.location || { port: 80 }
var isDev = typeof __DEV__ === 'boolean' && __DEV__
process.env['NODE_ENV'] = isDev ? 'development' : 'production'
var isDev = typeof __DEV__ === 'boolean' && __DEV__;
const env = process.env;
env.NODE_ENV = isDev ? 'development' : 'production';
if (typeof localStorage !== 'undefined') {
localStorage.debug = isDev ? '*' : ''
}
Expand Down

0 comments on commit 99f340a

Please sign in to comment.