The next-config package details.
next-config
package is a configuration package for Next.js. It is used to configure the Next.js app and is located in the packages/next-config
directory.
/ingest/static/:path*
routes to PostHog’s static assets/ingest/:path*
routes to the main PostHog ingestion endpoint/ingest/decide
routes to PostHog’s feature flags endpointskipTrailingSlashRedirect
to properly support PostHog API requests with trailing slashes.
@opentelemetry/instrumentation
packages.
The configuration can optionally be wrapped with withAnalyzer()
to enable bundle analysis capabilities.