How to determine whether the imported module in package.json is a runtime dependency (dependencies) or a development time dependency (devDependencies), such as which react is?
伊谢尔伦2017-06-14 10:55:59
dependencies: {
react: ^15.4.2
}
It can be understood this way: what is finally packaged is dependencies
; it is just dev
that is relied upon during development, such as various babel-plugin-*
, *-loader