You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Vite source map options are the same as the Nuxt source map config options (unless overwritten)
38
+
validateDifferentSourceMapSettings({
39
+
nuxtSettingKey: `sourcemap.${runtime}`,
40
+
nuxtSettingValue: nuxtSourceMapSetting,
41
+
otherSettingKey: 'viteConfig.build.sourcemap',
42
+
otherSettingValue: viteSourceMap,
43
+
});
44
+
45
+
if(isDebug){
46
+
// eslint-disable-next-line no-console
47
+
console.log(`[Sentry] Adding Sentry Vite plugin to the ${runtime} runtime.`);
48
+
}
49
+
50
+
// Add Sentry plugin by mutating the config
51
+
// Vite plugin is added on the client and server side (plugin runs for both builds)
52
+
// Nuxt client source map is 'false' by default. Warning about this will be shown already in an earlier step, and it's also documented that `nuxt.sourcemap.client` needs to be enabled.
console.log(`[Sentry] Adding Sentry Vite plugin to the ${runtime} runtime.`);
102
-
}
103
-
}
104
-
105
-
// Add Sentry plugin
106
-
// Vite plugin is added on the client and server side (hook runs twice)
107
-
// Nuxt client source map is 'false' by default. Warning about this will be shown already in an earlier step, and it's also documented that `nuxt.sourcemap.client` needs to be enabled.
0 commit comments