Skip to content

Commit

Permalink
chore: remove some outdated vike comments
Browse files Browse the repository at this point in the history
  • Loading branch information
magne4000 committed Oct 1, 2023
1 parent 08a204e commit f5e92c2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions packages/vercel/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,17 @@ function vercelPlugin(): Plugin {
// step 1: Clean .vercel/ouput dir
await cleanOutputDirectory(resolvedConfig);

// vike triggers a second build with --ssr
// special case: Vike triggers a second build with --ssr
// TODO: find a way to fix that in a more generic way
if (vikeFound) {
return;
}
}

// step 2: Server side built by vike
// step 2.1: Execute vike prerender
// step 2: Execute prerender
const overrides = await execPrerender(resolvedConfig);

// step 3: Wait for vike second build step with `ssr` flag
// step 3.1: Compute overrides for static HTML files
// step 3: Compute overrides for static HTML files
const userOverrides = await computeStaticHtmlOverrides(resolvedConfig);

// step 4: Compile serverless functions to ".vercel/output/functions"
Expand Down

1 comment on commit f5e92c2

@vercel
Copy link

@vercel vercel bot commented on f5e92c2 Oct 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.