sveltejs / sapper

The next small thing in web development, powered by Svelte
https://sapper.svelte.dev
MIT License
7.02k stars 437 forks source link

Incorrect Static HTML generation #1805

Open rupesh-raj opened 2 years ago

rupesh-raj commented 2 years ago

I am using sapper version 0.28.10 svelte 3.31.0 and trying to create a static version of the site with sapper npx sapper export --legacy --entry "/crawl" where I have added all my static pages in a tags.

The crawl.svelte file looks like

<a href="404">404</a>
<a href="route1">route1</a>
<a href="route2">route2</a>
<a href="route3">route3</a>

As per documentation I should get route1/index.html route2/index.html route3/index.html since sapper crawls all a tags but instead I only get crawl/index.html