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 c244af3e2b
commit d9c275175c

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.