rsbuild-plugin-posthog
April 8, 2024 ยท View on GitHub
rsbuild-plugin-posthog is a Rsbuild plugin for Posthog.
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.