fix bundle-config-loader order

# Conflicts:
#	packages/core/globals/index.ts
This commit is contained in:
Martin Guillon
2020-09-09 23:09:30 +02:00
parent 8bc5abe01b
commit 02d4f4bc2f
7 changed files with 8 additions and 20 deletions

View File

@ -1,12 +1,7 @@
import '../../globals';
import { setActivityCallbacks, AndroidActivityCallbacks } from '.';
// use requires to ensure import order
const globals = require('../../globals');
const appModule = require('../../application');
if (global.__snapshot) {
globals.initGlobal();
}
/**
* NOTE: We cannot use NativeClass here because this is used in appComponents in webpack.config
* Whereby it bypasses the decorator transformation, hence pure es5 style written here