ITADN

[Feature Request]: Analyze build to inform developer to remove packages

#1047Openmikedidomizio 创建于 2026-01-24
request-new-featuretriage
M
mikedidomiziocommented
### Problem Description By default all packages are included and put into the production build. If you don't remove packages, you end up building the production build with things that aren't needed, leading to developer potentially shipping unnecessarily bloated extensions. ### Proposed Solution What could be in the production "main" branch is a hash of each packages "dist/" output content. Ex. `dist/content-runtime`. If you're on a different branch, a command could be run that could compare its individual package build output against the hashes in "main" and if they're the same could alert the developer they could remove the package as it does not differ from the "demo" versions of these packages included. Ultimately, just helps ensure things are tidied up for devs. ### Alternatives Considered _No response_ ### Additional Context I don't know if I consider this a high priority, or heavily sought after feature. I'm just throwing an idea out there.
1 条评论