Skip to content

Commit bc48218

Browse files
committed
fix(vite): not cover default output
1 parent 364ead1 commit bc48218

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ export const unpluginFactory: UnpluginFactory<Options> = options => ({
2626
consola.fail('please provide target')
2727
return
2828
}
29+
const _printUrls = server.printUrls
2930
server.printUrls = () => {
31+
_printUrls()
3032
let source = `localhost:${config.server.port}`
3133
const url = server.resolvedUrls?.local[0]
3234
if (url) {

0 commit comments

Comments
 (0)