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

fix(schema): resolve ssr #7359

Merged
merged 1 commit into from
Sep 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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