0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 00:46:45 +01:00
posthog/ee/frontend/exports.ts
Ben White 4ad3928c74
feat: Added ability to import code from ee folder (#18841)
We want to experiment with some conditional licensing of frontend code via the ee folder.

---------

Co-authored-by: Paul D'Ambra <paul@posthog.com>
2023-11-23 16:40:46 +00:00

14 lines
249 B
TypeScript

import { PostHogEE } from '@posthog/ee/types'
const myTestCode = (): void => {
// eslint-disable-next-line no-console
console.log('it works!')
}
const postHogEE: PostHogEE = {
enabled: true,
myTestCode,
}
export default postHogEE