m1911star / rsbuild-plugin-posthog

rsbuild plugin for posthog https://posthog.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rsbuild-plugin-posthog

rsbuild-plugin-posthog is a Rsbuild plugin for Posthog.

npm version license

Usage

Install:

npm add rsbuild-plugin-posthog -D

Add plugin to your rsbuild.config.ts:

// rsbuild.config.ts
import { pluginPosthog } from 'rsbuild-plugin-posthog';

export default {
  plugins: [pluginPosthog({
    apiKey: 'xxx',
    apiHost: 'xxxx'
  })],
};

Options

Here are the available options:

Name Type
apiKey string
apiHost string

License

MIT.

About

rsbuild plugin for posthog https://posthog.com/

License:MIT License


Languages

Language:TypeScript 79.9%Language:CSS 14.3%Language:JavaScript 5.9%