mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
Fix bundle-entry-points by importing globals first.
Avoiding a crash if the import happens too soon.
This commit is contained in:
@ -1,4 +1,6 @@
|
||||
if (global.TNS_WEBPACK) {
|
||||
require("globals");
|
||||
|
||||
// Register "dynamically" loaded module that need to be resolved by the
|
||||
// XML/component builders.
|
||||
|
||||
|
Reference in New Issue
Block a user