pnpm remove
Aliases: rm, uninstall, un
Removes packages from node_modules
and from the project's package.json
.
#
Options#
--recursive, -rWhen used inside a workspace, removes a dependency (or dependencies) from every workspace package.
When used not inside a workspace, removes a dependency (or dependencies) from every package found in subdirectories.
#
--globalRemove a global package.
#
--save-dev, -DOnly remove the dependency from devDependencies
.
#
--save-optional, -OOnly remove the dependency from optionalDependencies
.
#
--save-prod, -POnly remove the dependency from dependencies
.