Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/m1911star/rsbuild-plugin-posthog

rsbuild plugin for posthog https://posthog.com/
https://github.com/m1911star/rsbuild-plugin-posthog

Last synced: 3 months ago
JSON representation

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

Lists

README

        

# rsbuild-plugin-posthog

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



npm version

license

## Usage

Install:

```bash
npm add rsbuild-plugin-posthog -D
```

Add plugin to your `rsbuild.config.ts`:

```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](./LICENSE).