Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
perf: enable treeshakeClientOnly flag by default (#7484)
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Sep 14, 2022
1 parent 3a60bf6 commit c98e5c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/schema/src/config/experimental.ts
Expand Up @@ -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
Expand Down

0 comments on commit c98e5c7

Please sign in to comment.