Skip to content

Commit 4fbf137

Browse files
authored
fix: Svelte production errors and warnings on resolve conditions (#1283)
1 parent ff065ab commit 4fbf137

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/module-svelte/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default defineWxtModule<SvelteModuleOptions>({
2222
}),
2323
],
2424
resolve: {
25-
conditions: mode === 'development' ? ['browser'] : [],
25+
conditions: ['browser', mode],
2626
},
2727
}));
2828

0 commit comments

Comments
 (0)