Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion packages/start-new/config/server-components.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import { SERVER_REFERENCES_MANIFEST } from "@vinxi/plugin-server-components/cons
import { buildServerComponents } from "@vinxi/plugin-server-components/server";
import { fileURLToPath } from "node:url";
import { chunkify } from "vinxi/lib/chunks";
import { normalize } from "vinxi/lib/path";

function client() {
return clientComponents({
server: "ssr",
Expand All @@ -18,7 +20,7 @@ function client() {
}

function server() {
const runtime = fileURLToPath(new URL("./server-runtime.jsx", import.meta.url));
const runtime = normalize(fileURLToPath(new URL("./server-runtime.jsx", import.meta.url)));
// export function serverComponents({
// resolve = {
// conditions: ["react-server"],
Expand Down