Deleting Cosmos DX components
Free up space and make the navigation easier by deleting unused or obsolete custom components either locally or on the Pega Infinity Server. You can delete both published and unpublished components.
- Open your preferred terminal tool.
- Enter
npm run delete
. - Select the location from which you want to delete the components:
Local
for components in your local project.Server
for components that are already published.
- Choose the component you want to delete.
- Enter
yes
.
Previous topic Listing Cosmos DX components Next topic Component definition