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

Commit d0c7fe6

Browse files
committed
feat: enable treeshakeClientOnly flag by default
1 parent addcb5c commit d0c7fe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/schema/src/config/experimental.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default defineUntypedSchema({
2626
* Tree shakes contents of client-only components from server bundle.
2727
* @see https://github.com/nuxt/framework/pull/5750
2828
*/
29-
treeshakeClientOnly: false,
29+
treeshakeClientOnly: true,
3030

3131
/**
3232
* Use vite-node for on-demand server chunk loading

0 commit comments

Comments
 (0)