mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-18 22:01:42 +08:00
fix bundle-config-loader order
# Conflicts: # packages/core/globals/index.ts
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user