mirror of
https://github.com/laurent22/joplin.git
synced 2026-06-18 20:16:34 +02:00
17 lines
352 B
JavaScript
17 lines
352 B
JavaScript
// Change to enable or disable React Native dev mode.
|
|
window.__DEV__ = window.location.origin.includes('localhost');
|
|
|
|
// Silences errors related to generated code.
|
|
window.exports = {};
|
|
|
|
// Expo libraries expect window.process variable to be defined.
|
|
window.process = {
|
|
env: {
|
|
EXPO_OS: 'web',
|
|
},
|
|
};
|
|
|
|
if (__DEV__) {
|
|
document.title = 'Joplin DEV';
|
|
}
|