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

Commit 247e18b

Browse files
authored
feat: enable treeshakeClientOnly flag by default (#7484)
1 parent 3a60bf6 commit 247e18b

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)