Open potch opened 1 month ago
Latest commit: 649100730e7dd2346f6f2617207b9c74a441e6fa
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Allow
app.html
to interpolate theversion
string passed tokit.version.name
insvelte.config.js
. This makes it easier for static<head>
includes for third-party scripts to be passed the current app version, e.g.This is nice ergonomic improvement, but there are several available workarounds:
%sveltekit.head%
%sveltekit.env.PUBLIC_VERSION%
app.html
inhooks.server
This PR resolves https://github.com/sveltejs/kit/issues/12130.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
Tests
pnpm test
and lint the project withpnpm lint
andpnpm check
Changesets
pnpm changeset
and following the prompts. Changesets that add features should beminor
and those that fix bugs should bepatch
. Please prefix changeset messages withfeat:
,fix:
, orchore:
.Edits