feat: record the size and content hash of client and prerendered files for adapters - #16994
feat: record the size and content hash of client and prerendered files for adapters#16994Nic-Polumeyv wants to merge 3 commits into
Conversation
|
Install the latest version of pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/5e6167ebc0ecef5aa484876d7dff80897096b7caOpen in |
🦋 Changeset detectedLatest commit: 5e6167e The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
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 |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
Kit now exposes the size and content hash of every client and prerendered file as
builder.clientFilesandbuilder.prerenderedFiles, and returns the sizes of the variantsbuilder.compresswrites. adapter-node and adapter-bun read those instead of hashing.These fields are computed on first access, so an adapter that doesn't need this pays nothing.