mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-28 18:26:15 +01:00
41ba028f7a
* fix: try different import mechanism * dockerfile copy * but without concatenation * Update UI snapshots for `chromium` (1) --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
14 lines
348 B
TypeScript
14 lines
348 B
TypeScript
import { PostHogEE } from './types'
|
|
|
|
export default async (): Promise<PostHogEE> => {
|
|
try {
|
|
// this has to import it...
|
|
// eslint-disable-next-line import/no-restricted-paths
|
|
return (await import('../../../ee/frontend/exports')).default()
|
|
} catch (e) {
|
|
return {
|
|
enabled: false,
|
|
}
|
|
}
|
|
}
|