scopes/workspace/eject/eject.docs.mdx
One of the common scenarios of using bit eject is to make a quick change to an external (component) dependency. The component needs to be imported first and once it's changed and exported, there is no need to keep it in the current workspace. Without eject, the next steps would be: 1) remove the component from the workspace by bit remove and 2) installing the component by bit install.
bit eject combines the commands above to one command.
The following steps are done during the eject process.
workspace.json file.--keep-files flag, deletes the component files from the workspace.