react-umg
Version:
A React renderer for Unreal Motion Graphics With Unreal.js
20 lines (14 loc) • 336 B
JavaScript
;
const setupDevtools = require('./setupDevtools');
if (typeof GLOBAL === 'undefined') {
global.GLOBAL = this;
}
if (typeof window === 'undefined') {
global.window = GLOBAL;
}
if (!window || !window.document) {
setupDevtools();
}
if (typeof process === 'undefined') {
global.process = { env: 'development' };
}