@gracefullight/docusaurus-plugin-sentry
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@gracefullight/docusaurus-plugin-sentry

This Docusaurus plugin adds support for Sentry on your website.

Installation

You can install this plugin via pnpm:

pnpm add @gracefullight/docusaurus-plugin-sentry

Usage

To use this plugin, you will need to configure it in your Docusaurus docusaurus.config.js file. You can add the following configuration to enable the plugin:

module.exports = {
  plugins: [
    [
      "@gracefullight/docusaurus-plugin-sentry",
      { 
        publicKey: "YOUR_PROJECT_PUBLIC_KEY",
        lazy: true,
        tracesSampleRate: 1,
      },
    ],
  ],
};

You need to replace "YOUR_PROJECT_PUBLIC_KEY" with your own Sentry project public key.

Package Sidebar

Install

npm i @gracefullight/docusaurus-plugin-sentry

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

6.82 kB

Total Files

10

Last publish

Collaborators

  • gracefullight