Closed geeeeeeeek closed 5 months ago
cc @meteorlxy I think I reported before, if usePagesData
is never used, then we can merge page component and page data of 1 single page into 1 single chunk.
You can turn off shouldPreload or shouldPrefetch.
This issue is marked as stale
because it has not had recent activity. Issues marked with stale
will be closed if they have no activity within 7 days.
Clear and concise description of the problem
打包后的细碎的 js 文件太多了,每次加载的时候,加载几百个js文件,能合并成一个js吗? 比如我的个人博客 每次加载的时候,从F12控制台可以看出,需要加载很多js小文件。
so many js files. how can I merge them?
Suggested solution
希望能通过配置,合并js文件
Alternative
No response
Additional context
No response