dedupe-npm-install
v1.0.3
Published
Solution for package duplication problem.
Downloads
5
Readme
dedupe-npm-install
Solution for package duplication problem.
npm i -D dedupe-npm-install
Add to package.json
{
"scripts": {
"dedupe-npm-install": "NODE_OPTIONS=\"--max-old-space-size=8192\" dedupe-npm-install",
"prebuild:prod": "npm run dedupe-npm-install",
}
}
Create file dedupe-npm-install.json
{
"target_path": "./node_modules",
"defaultCollapse": "same",
"extraCollapse": {
"lodash": ["*"]
}
}