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';