Skip to content

Deconflict names in SSR components #655

@Rich-Harris

Description

@Rich-Harris

If you import a component with a name that conflicts with the component you're generating, you generate invalid JavaScript. This means that for example this file has to be called guidePage.html instead of just guide.html (reflecting its /guide URL), because it imports Guide. Ugh.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions