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

perf: enable treeshakeClientOnly flag by default #7484

Merged
merged 1 commit into from
Sep 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/schema/src/config/experimental.ts
Original file line number Diff line number Diff line change
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