File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
src/platform-includes/sourcemaps Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ Configure Vite to emit source maps and use the Sentry Vite plugin:
35
35
``` JavaScript {filename:vite.config.js}
36
36
import { defineConfig } from " vite" ;
37
37
import { svelte } from " @sveltejs/vite-plugin-svelte" ;
38
- import sentryVitePlugin from " @sentry/vite-plugin" ;
38
+ import { sentryVitePlugin } from " @sentry/vite-plugin" ;
39
39
40
40
export default defineConfig ({
41
41
build: {
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ Example:
23
23
import { fileURLToPath , URL } from " node:url" ;
24
24
import { defineConfig } from " vite" ;
25
25
import vue from " @vitejs/plugin-vue" ;
26
- import sentryVitePlugin from " @sentry/vite-plugin" ;
26
+ import { sentryVitePlugin } from " @sentry/vite-plugin" ;
27
27
28
28
// https://vitejs.dev/config/
29
29
export default defineConfig ({
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Learn more about configuring the plugin in our [Sentry esbuild Plugin documentat
17
17
Example:
18
18
19
19
``` javascript {filename:esbuild.config.js}
20
- const sentryEsbuildPlugin = require (" @sentry/esbuild-plugin" );
20
+ const { sentryEsbuildPlugin } = require (" @sentry/esbuild-plugin" );
21
21
22
22
require (" esbuild" ).build ({
23
23
entryPoints: [" ./src/index.js" ],
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Learn more about configuring the plugin in our [Sentry Rollup Plugin documentati
18
18
Example:
19
19
20
20
``` javascript {filename:rollup.config.js}
21
- import sentryRollupPlugin from " @sentry/rollup-plugin" ;
21
+ import { sentryRollupPlugin } from " @sentry/rollup-plugin" ;
22
22
23
23
export default {
24
24
input: " ./src/index.js" ,
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Example:
18
18
19
19
``` javascript {filename:vite.config.js}
20
20
import { defineConfig } from " vite" ;
21
- import sentryVitePlugin from " @sentry/vite-plugin" ;
21
+ import { sentryVitePlugin } from " @sentry/vite-plugin" ;
22
22
23
23
export default defineConfig ({
24
24
build: {
You can’t perform that action at this time.
0 commit comments