mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 17:35:57 +00:00
perf(nuxt): skip experimental async context transform in client build (#30360)
This commit is contained in:
parent
dcbe4ec1a1
commit
5d766bcb98
@ -380,7 +380,7 @@ async function initNuxt (nuxt: Nuxt) {
|
||||
|
||||
// Transform initial composable call within `<script setup>` to preserve context
|
||||
if (nuxt.options.experimental.asyncContext) {
|
||||
addBuildPlugin(AsyncContextInjectionPlugin(nuxt))
|
||||
addBuildPlugin(AsyncContextInjectionPlugin(nuxt), { client: false })
|
||||
}
|
||||
|
||||
// TODO: [Experimental] Avoid emitting assets when flag is enabled
|
||||
|
Loading…
Reference in New Issue
Block a user