Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
fix(schema): resolve ssr (#7359)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Sep 8, 2022
1 parent 2b37d72 commit d81a742
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/schema/src/config/_common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default defineUntypedSchema({
*
* @version 3
*/
theme: null,
theme: null,

/**
* Define the workspace directory of your application.
Expand Down Expand Up @@ -199,7 +199,9 @@ export default defineUntypedSchema({
* @version 2
* @version 3
*/
ssr: true,
ssr: {
$resolve: (val) => val ?? true,
},

/**
* @deprecated use `ssr` option
Expand Down

0 comments on commit d81a742

Please sign in to comment.