Noop NPM Package
This package is useful when you want to remove a transitive dependency from npm/yarn.
For example. Module A depends sets Module B as a dependency but doens't use it and you want to remove it from your node_modules. You can use selective dependency resolution to override a module in package.json
{
"dependencies": {
"moduleA": "1.0.0",
"moduleB": "npm:[email protected]"
},
"resolution": {
"moduleB": "npm:[email protected]"
}
}
If you override a package using selective dependency resolution, the original package will be replaced in node_modules and may cause undefined behaviour.
This project is licensed under the MIT License - see the LICENSE file for details