mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +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) {
|
if (global.TNS_WEBPACK) {
|
||||||
|
require("globals");
|
||||||
|
|
||||||
// Register "dynamically" loaded module that need to be resolved by the
|
// Register "dynamically" loaded module that need to be resolved by the
|
||||||
// XML/component builders.
|
// XML/component builders.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user