javascript - How to distinguish development time dependencies from runtime dependencies?
大家讲道理2017-06-14 10:53:59
0
1
718
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?
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
It can be understood this way: what is finally packaged is
dependencies
; it is justdev
that is relied upon during development, such as variousbabel-plugin-*
,*-loader