Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: log a warning if fallback page overwrites prerendered page #11661

Merged
merged 1 commit into from Jan 18, 2024

Conversation

benmccann
Copy link
Member

I'm tweaking the docs in #11637 to recommend using a name other than index.html, but it'd still be useful to log a warning for existing projects or for people who don't read the docs (i.e. everyone).

I thought about making it throw an error, but it doesn't stop the project from working and probably wouldn't be considered backwards compatible to do so. It also risks the user turning off prerendering to solve the error, which could be counter-productive.

Copy link

changeset-bot bot commented Jan 17, 2024

🦋 Changeset detected

Latest commit: 542ebbb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sveltejs/kit Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Rich-Harris Rich-Harris merged commit 119971c into main Jan 18, 2024
13 checks passed
@Rich-Harris Rich-Harris deleted the fallback-warning branch January 18, 2024 04:15
@github-actions github-actions bot mentioned this pull request Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants