You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wondering if it was intentional to ship Preact with the base posthog-js package as a dependency rather than as a peerDependency or as an optionalDependency?
I'm also concerned about this - especially because preact seems to be pretty heavy (Unpacked Size 1.42 MB, according to https://www.npmjs.com/package/preact )
I'm wondering if it was intentional to ship Preact with the base posthog-js package as a dependency rather than as a peerDependency or as an optionalDependency?
Referencing this line here:
posthog-js/package.json
Line 42 in ac7525e
May I suggest we have the core package, maybe under:
@posthog/core
Which doesn't bundle with preact, and the 😀
@posthog/surveys etc for anything where a decision has been made to include UI elements?
The text was updated successfully, but these errors were encountered: