@sentry-internal/lynx-plugin
Version:
Official Sentry Plugin for lynx
29 lines • 838 B
TypeScript
import type { RsbuildPlugin } from '@rsbuild/core';
import { type SentryWebpackPluginOptions } from '@sentry/webpack-plugin/webpack5';
/**
* Create a rsbuild plugin for Sentry Lynx SDK.
*
* @example
* ```ts
* // lynx.config.ts
* import { pluginSentryLynx } from '@sentry/lynx-react/plugin'
* export default {
* plugins: [pluginSentryLynx({
* org: 'your-organization',
* project: 'your-project',
* authToken: process.env.SENTRY_AUTH_TOKEN,
* })],
* }
* ```
*
* @public
*/
export declare function pluginSentryLynx(options: SentryWebpackPluginOptions & {
/**
* When enabled, the plugin will use the local symbolicator to symbolicate the stack traces from development builds.
*
* @default true
*/
localSymbolication?: boolean;
}): RsbuildPlugin;
//# sourceMappingURL=index.d.ts.map