content-and-experience-toolkit icon indicating copy to clipboard operation
content-and-experience-toolkit copied to clipboard

Enhancement Request - cec upload-component flush assets folder

Open JohnRSim opened this issue 3 years ago • 0 comments
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

JohnRSim avatar May 25 '22 08:05 JohnRSim