PostHog / posthog-js-lite

Reimplementation of posthog-js to be as light and modular as possible.
https://posthog.com/docs/libraries
MIT License
69 stars 36 forks source link

feat: Upgrade min target to ES2020 #192

Closed benjackwhite closed 9 months ago

benjackwhite commented 9 months ago

Problem

We're making a major change so we considered other things we might want to do and this is one of them. Removes support for IE11 - if you need it, that's what posthog-js is for 😅

Changes

Fixes https://github.com/PostHog/posthog-js-lite/issues/163

Release info Sub-libraries affected

Bump level

Libraries affected

Changelog notes

github-actions[bot] commented 9 months ago

Size Change: 0 B 🆕

Total Size: 0 B

compressed-size-action

marandaneto commented 9 months ago

Can we remove htis hack maybe? https://github.com/PostHog/posthog-js-lite/blob/a1d9091396682de005f448d11531c0425e0b18d5/posthog-node/src/feature-flags.ts#L26-L28