Skip to content

Commit ccfcd48

Browse files
authored
fix(browser): don't panic if @vitest/browser is installed outside of project root (#6135)
1 parent 2d62051 commit ccfcd48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/browser/src/node/plugin.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ export default (browserServer: BrowserServer, base = '/'): Plugin[] => {
315315
project.ctx.config.root,
316316
project.ctx.server.config.configFile,
317317
),
318+
distRoot,
318319
)
319320

320321
return {

0 commit comments

Comments
 (0)