2 ms·
Can you imagine the dependency tree for a project with `node_modules`, for a create-react-app it would be thousands of modules deep...
by gitgud 6y ago
Can you imagine the dependency tree for a project with `node_modules`, for a create-react-app it would be thousands of modules deep...
- aleksjess 6y agoI would be interested in seeing that. Probably, however, the graph would horrify me as well.
- punnerud 6y agoOr a Solver trying to build the graph would return: "You seem to be in dependency hell."
- jbister 6y agoThere is a tool for visualizing node_modules dependencies here: https://npm.anvaka.com/#!/view/2d/webpack https://npm.anvaka.com/#!/view/2d/webpack And yes, the dependency chains become absolutely insane for some projects.
- brlewis 6y agoDoes it distinguish between dev dependencies and runtime dependencies?