mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +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
|
||||
* this teleport the component in SSR only if it needs to be hydrated on client
|
||||
*/
|
||||
/* @__PURE__ */
|
||||
export default defineComponent({
|
||||
name: 'NuxtTeleportIslandComponent',
|
||||
props: {
|
||||
|
@ -4,6 +4,7 @@ import { useNuxtApp } from '../nuxt'
|
||||
/**
|
||||
* component only used within islands for slot teleport
|
||||
*/
|
||||
/* @__PURE__ */
|
||||
export default defineComponent({
|
||||
name: 'NuxtTeleportIslandSlot',
|
||||
props: {
|
||||
|
Loading…
Reference in New Issue
Block a user