66
77# Sentry Babel Component Annotate Plugin (Beta)
88
9- [ ![ npm version] ( https://img.shields.io/npm/v/@sentry/babel-component-annotate-plugin .svg )] ( https://www.npmjs.com/package/@sentry/babel-component-annotate-plugin )
10- [ ![ npm dm] ( https://img.shields.io/npm/dm/@sentry/babel-component-annotate-plugin .svg )] ( https://www.npmjs.com/package/@sentry/babel-component-annotate-plugin )
11- [ ![ npm dt] ( https://img.shields.io/npm/dt/@sentry/babel-component-annotate-plugin .svg )] ( https://www.npmjs.com/package/@babel-component-annotate-plugin )
9+ [ ![ npm version] ( https://img.shields.io/npm/v/@sentry/babel-plugin- component-annotate.svg )] ( https://www.npmjs.com/package/@sentry/babel-plugin- component-annotate )
10+ [ ![ npm dm] ( https://img.shields.io/npm/dm/@sentry/babel-plugin- component-annotate.svg )] ( https://www.npmjs.com/package/@sentry/babel-plugin- component-annotate )
11+ [ ![ npm dt] ( https://img.shields.io/npm/dt/@sentry/babel-plugin- component-annotate.svg )] ( https://www.npmjs.com/package/@babel-plugin- component-annotate )
1212
1313This plugin is currently in beta. Please help us improve by [ reporting any issues or giving us feedback] ( https://github.com/getsentry/sentry-javascript-bundler-plugins/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc ) .
1414
@@ -34,19 +34,19 @@ Check out the supported bundler plugin packages for installation instructions:
3434Using npm:
3535
3636``` bash
37- npm install @sentry/babel-component-annotate-plugin --save-dev
37+ npm install @sentry/babel-plugin- component-annotate --save-dev
3838```
3939
4040Using yarn:
4141
4242``` bash
43- yarn add @sentry/babel-component-annotate-plugin --dev
43+ yarn add @sentry/babel-plugin- component-annotate --dev
4444```
4545
4646Using pnpm:
4747
4848``` bash
49- pnpm install @sentry/babel-component-annotate-plugin --dev
49+ pnpm install @sentry/babel-plugin- component-annotate --dev
5050```
5151
5252## Example
@@ -59,7 +59,7 @@ pnpm install @sentry/babel-component-annotate-plugin --dev
5959
6060 plugins: [
6161 // Put this plugin before any other plugins you have that transform JSX code
62- [' @sentry/babel-component-annotate-plugin ' ]
62+ [' @sentry/babel-plugin- component-annotate' ]
6363 ],
6464}
6565```
@@ -69,7 +69,7 @@ Or alternatively, configure the plugin by directly importing it:
6969``` js
7070// babel.config.js
7171
72- import {componentNameAnnotatePlugin } from ' @sentry/babel-component-annotate-plugin ' ;
72+ import {componentNameAnnotatePlugin } from ' @sentry/babel-plugin- component-annotate' ;
7373
7474{
7575 // ... other config above ...
0 commit comments