Skip to content

Remove dist/server/ upon $ vike build + pre-rendering #1851

Closed
@brillout

Description

@brillout

Description

dist/server/ isn't needed for a fully pre-rendered app, and users are often confused about why it's there. We can remove it once we implement Vike's CLI.

Blocker: Vike's CLI.

Notes:

  • It should only be removed if the user doesn't disable build chaining.
  • An error should be thrown when calling the prerender() API.
  • New option prerender.keepServerBuild.
  • Should dist/client/ become dist/? I ain't sure, I'll think about this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions