fix(core): bundle entry points and global handling (#8884)

This commit is contained in:
Martin Guillon
2020-09-23 23:48:19 +02:00
committed by GitHub
parent 9ec1939233
commit 1f790edc80
7 changed files with 9 additions and 21 deletions

View File

@@ -1,8 +1,5 @@
// Require globals first so that snapshot takes __extends function.
const nsGlobals = require('../globals');
if (!global.NativeScriptHasInitGlobal) {
nsGlobals.initGlobal();
}
import '../globals';
// Types
import { AndroidApplication, iOSApplication } from '.';