Repository navigation
fix: infer prerendered MIME types from generated files - #17381
svelte-triage-bot[bot] wants to merge 1 commit into
Conversation
🦋 Changeset detectedLatest commit: d06de6d The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
|
Install the latest version of pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/d06de6dcad53c0f2a92aac5edb2cfc2763c5ece0Open in Note This PR is from a fork. A maintainer must approve approve each commit before it can be built and installed. |
|
@svelte-triage-bot do we need the additional test in adapter-node or does the one in core suffice? asking because there is no actual code change in adapter-node itself |
|
(but answered on the issue #17380 (comment) will dig into why) (I think I would still be in favor of removing the node test to not make everything take even longer) |
|
Tested this on a production site that hit #17380. The site is fully prerendered, on Kit 3.0.0 and adapter-node 6.0.0, and served through a custom server that wraps I applied this PR's
Thanks in advance for the quick fix! |
builder.mimeTypesunless another asset supplies it.Fixes #17380