Skip to content

Commit

Permalink
fix(browser): don't panic if @vitest/browser is installed outside of …
Browse files Browse the repository at this point in the history
…project root (#6135)
  • Loading branch information
sheremet-va authored Jul 15, 2024
1 parent 2d62051 commit ccfcd48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/browser/src/node/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ export default (browserServer: BrowserServer, base = '/'): Plugin[] => {
project.ctx.config.root,
project.ctx.server.config.configFile,
),
distRoot,
)

return {
Expand Down

0 comments on commit ccfcd48

Please sign in to comment.