Skip to content

Commit e33e2cb

Browse files
committed
regenerate
1 parent 4cf2077 commit e33e2cb

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

packages/svelte/src/compiler/errors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1361,7 +1361,7 @@ export function svelte_head_illegal_attribute(node) {
13611361
* @returns {never}
13621362
*/
13631363
export function svelte_html_illegal_attribute(node) {
1364-
e(node, "svelte_html_illegal_attribute", "`<svelte:html>` can only have regular attributes");
1364+
e(node, "svelte_html_illegal_attribute", `\`<svelte:html>\` can only have regular attributes\nhttps://svelte.dev/e/svelte_html_illegal_attribute`);
13651365
}
13661366

13671367
/**

packages/svelte/src/internal/shared/warnings.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@ ${properties}`
4141
*/
4242
export function svelte_html_duplicate_attribute(name) {
4343
if (DEV) {
44-
console.warn(`%c[svelte] svelte_html_duplicate_attribute\n%cDuplicate attribute '${name}' across multiple \`<svelte:html>\` blocks, the latest value will be used.`, bold, normal);
44+
console.warn(`%c[svelte] svelte_html_duplicate_attribute\n%cDuplicate attribute '${name}' across multiple \`<svelte:html>\` blocks, the latest value will be used.\nhttps://svelte.dev/e/svelte_html_duplicate_attribute`, bold, normal);
4545
} else {
46-
// TODO print a link to the documentation
47-
console.warn("svelte_html_duplicate_attribute");
46+
console.warn(`https://svelte.dev/e/svelte_html_duplicate_attribute`);
4847
}
4948
}

0 commit comments

Comments
 (0)