Skip to content

Commit e59101e

Browse files
committed
Merge branch 'fn/ensure-nuxt-plugin-order' into fn/e2e-test-isolated
2 parents 026be7f + 9fedd69 commit e59101e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/nuxt/src/module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default defineNuxtModule<ModuleOptions>({
4242
addPluginTemplate({
4343
mode: 'client',
4444
filename: 'sentry-client-config.mjs',
45-
order: -20,
45+
order: 0,
4646

4747
// Dynamic import of config file to wrap it within a Nuxt context (here: defineNuxtPlugin)
4848
// Makes it possible to call useRuntimeConfig() in the user-defined sentry config file
@@ -62,7 +62,7 @@ export default defineNuxtModule<ModuleOptions>({
6262
addPlugin({
6363
src: moduleDirResolver.resolve('./runtime/plugins/sentry.client'),
6464
mode: 'client',
65-
order: -10,
65+
order: 1,
6666
});
6767
}
6868

0 commit comments

Comments
 (0)