Skip to content

Commit ccfcd48

Browse files
authoredJul 15, 2024··
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

+1
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)
Please sign in to comment.