mirror of
https://github.com/hanzoai/insights-js.git
synced 2026-10-30 18:34:19 +00:00
Bulk rename across 989 files: - Package names: posthog-js → @hanzo/insights, posthog-node → @hanzo/insights-node, etc. - Repository URLs: posthog/posthog-js → hanzoai/insights-js - Brand names: PostHog → Insights - File renames: 259 reference JSON files, source files, workflow files - Directory rename: eslint-plugin-posthog-js → eslint-plugin-insights Remaining: 8 refs to @posthog/rrweb-* (real npm deps, need fork+publish)
26 lines
708 B
TypeScript
26 lines
708 B
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
modules: ['@insights/nuxt'],
|
|
compatibilityDate: '2025-11-03',
|
|
insightsConfig: {
|
|
host: process.env.INSIGHTS_API_HOST!,
|
|
publicKey: process.env.INSIGHTS_PROJECT_API_KEY!,
|
|
debug: true,
|
|
clientConfig: {
|
|
capture_exceptions: true,
|
|
capture_pageview: 'history_change',
|
|
},
|
|
serverConfig: {
|
|
enableExceptionAutocapture: true,
|
|
},
|
|
sourcemaps: {
|
|
enabled: true,
|
|
releaseVersion: '3',
|
|
logLevel: 'debug',
|
|
projectId: process.env.INSIGHTS_PROJECT_ID!,
|
|
releaseName: 'my-project',
|
|
personalApiKey: process.env.INSIGHTS_PERSONAL_API_KEY!,
|
|
},
|
|
},
|
|
})
|