Fix bundle-entry-points by importing globals first.

Avoiding a crash if the import happens too soon.
This commit is contained in:
Hristo Deshev
2016-11-03 13:23:37 +02:00
parent e8c930305e
commit 47e03c9623

View File

@@ -1,4 +1,6 @@
if (global.TNS_WEBPACK) {
require("globals");
// Register "dynamically" loaded module that need to be resolved by the
// XML/component builders.