Skip to content

Commit c3959e8

Browse files
authored
fix: Respect configOrPath for dev server (#1169)
1 parent e770f9b commit c3959e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/unocss/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default defineWxtModule<UnoCSSOptions>({
2828
}
2929

3030
wxt.hooks.hook('vite:devServer:extendConfig', (config) => {
31-
config.plugins?.push(UnoCSS());
31+
config.plugins?.push(UnoCSS(resolvedOptions.configOrPath));
3232
});
3333

3434
wxt.hooks.hook('vite:build:extendConfig', async (entries, config) => {

0 commit comments

Comments
 (0)