Skip to content

Commit

Permalink
fix: undefinedRenderer
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobrosenberg committed Mar 31, 2024
1 parent c40b0ed commit d1decc0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/extra/vite-plugin/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,12 @@ export const optionsCheck = (options, isProduction) => {

if (options['ssr']?.['prerender']) {
console.log(deprecationMsg(`"ssr.prerender has moved to "render.ssg"`))
options.render.ssg = options.ssr.prerender
}
if (options['ssr']?.['spank']) {
console.log(deprecationMsg(`"ssr.spank" has moved to "render.ssg.spank"`))
options.render.ssg.spank = options.ssr.spank
}
if (options['ssr']) {
console.log(deprecationMsg(`"ssr" has moved to "render.ssr"`))
options.render.ssr = options.ssr
}

if (
Expand Down

0 comments on commit d1decc0

Please sign in to comment.