also looking at this
feat(stx): one-line stx integration (plugins: ['@stacksjs/ts-analytics']) + fix library build
#123
11 files
+331
-13
| @@ -363,3 +363,8 @@ export { | ||
| 363 | 363 | lookupFromHeaders, |
| 364 | 364 | lookupIP, |
| 365 | 365 | } from './geolocation' |
| 366 | ||
| 367 | // stx integration. The plugin is the package's DEFAULT export so stx resolves | |
| 368 | // `plugins: ['@stacksjs/ts-analytics']` to it directly (no subpath). Config is | |
| 369 | // read from the top-level `analytics: { appId }` key. See ./integrations/stx. | |
| 370 | export { default, type StxAnalyticsConfig, stxPlugin } from './integrations/stx' | |