We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9eee364 commit f0e2f87Copy full SHA for f0e2f87
src/ssr-plugin.ts
@@ -252,7 +252,7 @@ async function renderComponentToSSR(
252
Component: Component,
253
props: Record<string, unknown> = {},
254
): Promise<{ html: string }> {
255
- const viteServer = ctx.project.ctx.vite;
+ const viteServer = ctx.project.vite;
256
257
// vite doesn't replace import.meta.env with hardcoded values so we need to do it manually
258
for (const [key, value] of Object.entries(viteServer.config.env)) {
0 commit comments