content-and-experience-toolkit
content-and-experience-toolkit copied to clipboard
Enhancement Request - cec upload-component flush assets folder
trafficstars
It would be great to have a flush assets folder flag..
At the moment any asset that is removed from cec components is not autoremoved flushed from OCM component and it stays dormant within the component in OCM this increases the component size and time taken to publish an asset; especially if you autobuild and have service worker that regenerate assetnames on build ie index.q24nwfhd.js then the unused build scripts/images etc are all held in the component everytime you publish
ie cec upload-component Sample-To-Do -p
Having something simple
ie cec upload-component Sample-To-Do -p -f
Would be great for components that use an autobuild process ie react/svelte/vue etc..
Thanks