From 4bea76fbebfb405df9a7ccef05e1bef0e9f18263 Mon Sep 17 00:00:00 2001 From: Martin Guillon Date: Wed, 23 Sep 2020 21:11:40 +0200 Subject: [PATCH] fix wrong import --- packages/core/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/index.ts b/packages/core/index.ts index 8be55e07c..6291561c7 100644 --- a/packages/core/index.ts +++ b/packages/core/index.ts @@ -1,6 +1,6 @@ /// -// Init globals first (use require to ensure it's always at the top) -import '../globals'; +// Init globals first (use import to ensure it's always at the top) +import './globals'; export { iOSApplication, AndroidApplication } from './application'; export type { ApplicationEventData, LaunchEventData, OrientationChangedEventData, UnhandledErrorEventData, DiscardedErrorEventData, CssChangedEventData, LoadAppCSSEventData, AndroidActivityEventData, AndroidActivityBundleEventData, AndroidActivityRequestPermissionsEventData, AndroidActivityResultEventData, AndroidActivityNewIntentEventData, AndroidActivityBackPressedEventData, SystemAppearanceChangedEventData } from './application';