Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Support for entry points that are not index.html pages #1289

Open
@pchynoweth

Description

@pchynoweth

Is your feature request related to a problem? Please describe.
I would like to be able to generate a sitemap using sapper. This works for the build but can't currently be export because entry points are restricted to directories i.e. index.html pages.

Describe the solution you'd like
I want the --entry argument to detect file names with extensions and export them without attempting to add a /.

Describe alternatives you've considered
The only workaround I have found is to preload the sitemap.xml on another page that gets crawled by sapper export. This seems like a bit of a hack to me.

https://dev.to/zechtyounes/how-to-render-your-sitemap-xml-file-in-your-svelte-sapper-blog-2joh

How important is this feature to you?
Important enough that I've created a PR.

Additional context
I have created #1288 to resolve 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