-
Notifications
You must be signed in to change notification settings - Fork 76
Unused dependency trimming #26
Copy link
Copy link
Open
Labels
✨New feature or requestNew feature or request⚡Potential optimizationPotential optimization📦 RPGCore.PackagesIssue related to the RPGCore.Packages packageIssue related to the RPGCore.Packages package
Metadata
Metadata
Assignees
Labels
✨New feature or requestNew feature or request⚡Potential optimizationPotential optimization📦 RPGCore.PackagesIssue related to the RPGCore.Packages packageIssue related to the RPGCore.Packages package
Projects
Status
Todo
Add API for importing assets to force-include them in the build (for assets that serve as the root assets for the game) and allow removal of all assets that are unused.
This could be implemented with an
IImportProcessorthat removes assets at the stage in the build pipeline. This means that a user will be able to customise at which point in the build pipeline the removal of the resources occurs at.For optimization purposes, I can also abort the writing of the
IContentWriterthat was created for the original assets that are no longer going to be included.