perf: enable treeshakeClientOnly flag by default (#7484)

This commit is contained in:
pooya parsa 2022-09-14 12:37:46 +02:00 committed by Pooya Parsa
parent 3a60bf69ce
commit c98e5c774d

View File

@ -26,7 +26,7 @@ export default defineUntypedSchema({
* Tree shakes contents of client-only components from server bundle.
* @see https://github.com/nuxt/framework/pull/5750
*/
treeshakeClientOnly: false,
treeshakeClientOnly: true,
/**
* Use vite-node for on-demand server chunk loading