Skip to content

P1: Split entry-renderer.ts into generated-section helpers #304

Description

@SisyphusZheng

What to build

packages/ssg/src/entry-renderer.ts (757 lines) builds a single giant code string. Split into helpers for imports, document wrapper, island registration, route registration, middleware, etc.

Acceptance criteria

  • Each generated section is produced by a small helper returning a string.
  • Output byte-for-byte equivalent (or better, tested for semantics).
  • Tests pass.

Blocked by

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1alpha.7v0.41.0-alpha.7 Mastodon Desktop incubationrefactorssg

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions