Skip to content

Update bundler plugin docs to reflect new export structure #6116

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Configure Vite to emit source maps and use the Sentry Vite plugin:
```JavaScript {filename:vite.config.js}
import { defineConfig } from "vite";
import { svelte } from "@sveltejs/vite-plugin-svelte";
import sentryVitePlugin from "@sentry/vite-plugin";
import { sentryVitePlugin } from "@sentry/vite-plugin";

export default defineConfig({
build: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Example:
import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import sentryVitePlugin from "@sentry/vite-plugin";
import { sentryVitePlugin } from "@sentry/vite-plugin";

// https://vitejs.dev/config/
export default defineConfig({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Learn more about configuring the plugin in our [Sentry esbuild Plugin documentat
Example:

```javascript {filename:esbuild.config.js}
const sentryEsbuildPlugin = require("@sentry/esbuild-plugin");
const { sentryEsbuildPlugin } = require("@sentry/esbuild-plugin");

require("esbuild").build({
entryPoints: ["./src/index.js"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Learn more about configuring the plugin in our [Sentry Rollup Plugin documentati
Example:

```javascript {filename:rollup.config.js}
import sentryRollupPlugin from "@sentry/rollup-plugin";
import { sentryRollupPlugin } from "@sentry/rollup-plugin";

export default {
input: "./src/index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Example:

```javascript {filename:vite.config.js}
import { defineConfig } from "vite";
import sentryVitePlugin from "@sentry/vite-plugin";
import { sentryVitePlugin } from "@sentry/vite-plugin";

export default defineConfig({
build: {
Expand Down