diff --git a/src/preview/index.ts b/src/preview/index.ts index 0d1b1b510a0..c32dba58249 100644 --- a/src/preview/index.ts +++ b/src/preview/index.ts @@ -1,5 +1,3 @@ -import {lazy} from 'react' - import {PreviewMode} from './PreviewMode' export default PreviewMode @@ -10,4 +8,7 @@ export * from './useAuthenticated' export * from './useGroqStore' export * from './useSyncGroqStore' -export const PreviewSubscriptionWithToken = lazy(() => import('./PreviewSubscriptionWithToken')) +// eslint-disable-next-line no-warning-comments +// @TODO revisit once Parcel handles dynamic imports properly +//export const PreviewSubscriptionWithToken = lazy(() => import('./PreviewSubscriptionWithToken')) +export {PreviewSubscriptionWithToken} from './PreviewSubscriptionWithToken'