mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-13 09:33:54 +00:00
fix(nuxt): mark internal island components with @__PURE__
(#25842)
This commit is contained in:
parent
f2d891cae9
commit
b2729911b1
@ -13,6 +13,7 @@ type ExtendedComponent = Component & {
|
|||||||
* component only used with componentsIsland
|
* component only used with componentsIsland
|
||||||
* this teleport the component in SSR only if it needs to be hydrated on client
|
* this teleport the component in SSR only if it needs to be hydrated on client
|
||||||
*/
|
*/
|
||||||
|
/* @__PURE__ */
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'NuxtTeleportIslandComponent',
|
name: 'NuxtTeleportIslandComponent',
|
||||||
props: {
|
props: {
|
||||||
|
@ -4,6 +4,7 @@ import { useNuxtApp } from '../nuxt'
|
|||||||
/**
|
/**
|
||||||
* component only used within islands for slot teleport
|
* component only used within islands for slot teleport
|
||||||
*/
|
*/
|
||||||
|
/* @__PURE__ */
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'NuxtTeleportIslandSlot',
|
name: 'NuxtTeleportIslandSlot',
|
||||||
props: {
|
props: {
|
||||||
|
Loading…
Reference in New Issue
Block a user