fix: Svelte production errors and warnings on resolve conditions (#1283)

This commit is contained in:
Aaron
2024-12-17 10:35:39 -06:00
committed by GitHub
parent ff065ab88b
commit 4fbf137d15
+1 -1
View File
@@ -22,7 +22,7 @@ export default defineWxtModule<SvelteModuleOptions>({
}),
],
resolve: {
conditions: mode === 'development' ? ['browser'] : [],
conditions: ['browser', mode],
},
}));