2697: add base and asset transform to html template 🦎#3088
2697: add base and asset transform to html template 🦎#3088dreitzner wants to merge 1 commit intosveltejs:masterfrom
Conversation
🦋 Changeset detectedLatest commit: 555814b 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 |
|
Thank you. Adding I think what we probably want to do is allow <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="description" content="" />
- <link rel="icon" href="/favicon.png" />
+ <link rel="icon" href="%svelte.assets%/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
%svelte.head%
</head>
<body>
<div id="svelte">%svelte.body%</div>
</body>
</html>...and then replace assets with <link rel="icon" href="./favicon.png" />...but <link rel="icon" href="../../favicon.png" />We'd also need to account for the |
|
Closing in favour of #3234 |
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
Tests
pnpm testand lint the project withpnpm lintandpnpm checkChangesets
pnpx changesetand following the prompts. All changesets should bepatchuntil SvelteKit 1.0Changes
closes #2697