rsbuild-plugin-posthog
v1.0.1
Published
rsbuild-plugin-posthog is a Rsbuild plugin for Posthog.
Downloads
3
Readme
rsbuild-plugin-posthog
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.