4 ms·
Can we say that JS ecosystem did it right by splitting package management, bundling and testing into separate tools?
by sesm 3y ago
Can we say that JS ecosystem did it right by splitting package management, bundling and testing into separate tools?
- syspec 3y agoNot if you go by the number of blog posts complaining about NPM and bundling in javascript
- Sankozi 3y agoBundling and testing in maven is already done by separate tools. It is just that maven have some defaults (dependent on the packaging selected) which tools may cover such tasks. I think NPM made one step too far - it removed whole build structure from the build tool. NPM is just package manager and simple run utility (both based on horrible package.json configuration, even maven's verbose XML pom.xml are better). There is no compilation step, verification step etc. - there are just cli commands you can preconfigure in package.json.