mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
perf: enable treeshakeClientOnly
flag by default (#7484)
This commit is contained in:
parent
3a60bf69ce
commit
c98e5c774d
@ -26,7 +26,7 @@ export default defineUntypedSchema({
|
|||||||
* Tree shakes contents of client-only components from server bundle.
|
* Tree shakes contents of client-only components from server bundle.
|
||||||
* @see https://github.com/nuxt/framework/pull/5750
|
* @see https://github.com/nuxt/framework/pull/5750
|
||||||
*/
|
*/
|
||||||
treeshakeClientOnly: false,
|
treeshakeClientOnly: true,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use vite-node for on-demand server chunk loading
|
* Use vite-node for on-demand server chunk loading
|
||||||
|
Loading…
Reference in New Issue
Block a user