mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
feat(nuxt): treeshake onUpdated
and onUnmounted
on server (#27044)
This commit is contained in:
parent
9735fbc7e4
commit
7ea05acbc9
@ -165,7 +165,7 @@ export default defineUntypedSchema({
|
||||
await get('dev')
|
||||
? {}
|
||||
: {
|
||||
'vue': ['onBeforeMount', 'onMounted', 'onBeforeUpdate', 'onRenderTracked', 'onRenderTriggered', 'onActivated', 'onDeactivated', 'onBeforeUnmount'],
|
||||
'vue': ['onMounted', 'onUpdated', 'onUnmounted', 'onBeforeMount', 'onBeforeUpdate', 'onBeforeUnmount', 'onRenderTracked', 'onRenderTriggered', 'onActivated', 'onDeactivated'],
|
||||
'#app': ['definePayloadReviver', 'definePageMeta'],
|
||||
},
|
||||
),
|
||||
@ -175,7 +175,7 @@ export default defineUntypedSchema({
|
||||
await get('dev')
|
||||
? {}
|
||||
: {
|
||||
'vue': ['onServerPrefetch', 'onRenderTracked', 'onRenderTriggered'],
|
||||
'vue': ['onRenderTracked', 'onRenderTriggered', 'onServerPrefetch'],
|
||||
'#app': ['definePayloadReducer', 'definePageMeta'],
|
||||
},
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user