mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
### What? Implement a simple tree-shaking. Simple tree shaking is a tree-shaking implementation that only has two options for each export: used/unused. This information is shared among the whole application, so there's no fine-grained control for each export. ### Why? Because advanced tree shaking requires some more time to implement.
5 lines
73 B
JSON
5 lines
73 B
JSON
{
|
|
"treeShakingMode": "reexports-only",
|
|
"removeUnusedExports": true
|
|
}
|