pull/18151/head
Rich Harris 3 months ago
parent d629fa1b7a
commit d0c2048d1d

@ -706,7 +706,7 @@ Component has unused export property '%name%'. If it is for external reference o
### head_in_component
```
Using `<head>` (%location%) will likely lead to runtime errors. Use [`<svelte:head>`](https://svelte.dev/e/head_in_component) instead
Using `<head>` (%location%) will likely lead to runtime errors. Use [`<svelte:head>`](https://svelte.dev/docs/svelte/svelte-head) instead
```
### legacy_code

@ -85,7 +85,7 @@ See [the migration guide](v5-migration-guide#Event-changes) for more info.
## head_in_component
> Using `<head>` (%location%) will likely lead to runtime errors. Use [`<svelte:head>`](https://svelte.dev/e/head_in_component) instead
> Using `<head>` (%location%) will likely lead to runtime errors. Use [`<svelte:head>`](https://svelte.dev/docs/svelte/svelte-head) instead
## node_invalid_placement_ssr

@ -787,12 +787,12 @@ export function event_directive_deprecated(node, name) {
}
/**
* Using `<head>` (%location%) will likely lead to runtime errors. Use [`<svelte:head>`](https://svelte.dev/e/head_in_component) instead
* Using `<head>` (%location%) will likely lead to runtime errors. Use [`<svelte:head>`](https://svelte.dev/docs/svelte/svelte-head) instead
* @param {null | NodeLike} node
* @param {string} location
*/
export function head_in_component(node, location) {
w(node, 'head_in_component', `Using \`<head>\` (${location}) will likely lead to runtime errors. Use [\`<svelte:head>\`](https://svelte.dev/e/head_in_component) instead\nhttps://svelte.dev/e/head_in_component`);
w(node, 'head_in_component', `Using \`<head>\` (${location}) will likely lead to runtime errors. Use [\`<svelte:head>\`](https://svelte.dev/docs/svelte/svelte-head) instead\nhttps://svelte.dev/e/head_in_component`);
}
/**

Loading…
Cancel
Save