What are the production and development dependencies in package.json in the vue scaffolding project?

two puzzles:
1 are production dependencies and development dependencies not duplicated? Does that mean local development depends on production + development?
2 won"t executing build type dependencies into packages in development dependencies when the execution environment variable is production? Don"t you see the processing of this piece in webpack?


1: the answer is yes. The popular point is the dependence on the needs of the project to run
2: it is not entirely clear about the actual development of this thing, for example, you downloaded axios in devDependencies , and then main.js introduced axios , then webpack will still type the dependency into the production environment, that is, in the production package

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea9305-1f37.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea9305-1f37.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?