Skip to content

Commit

Permalink
Merge branch 'main' into docs/social-links
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Nov 30, 2023
2 parents 85c4b21 + c01c2ff commit 3c0d097
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 26 deletions.
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build.environment]
NODE_VERSION = "18"
NODE_VERSION = "20"
# don't need playwright for docs build
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = "1"

Expand Down
5 changes: 4 additions & 1 deletion packages/vitest/src/integrations/browser/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ export async function createBrowserServer(project: WorkspaceProject, configFile:
// browser never runs in middleware mode
server.middlewareMode = false

config.server = server
config.server = {
...config.server,
...server,
}
config.server.fs ??= {}
config.server.fs.allow = config.server.fs.allow || []
config.server.fs.allow.push(
Expand Down
48 changes: 24 additions & 24 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3c0d097

Please sign in to comment.