About the difference between devdependcies and dependencies after webpack packaging?

generally speaking, the difference between dependencies and devdependencies is that the packages you need to rely on after launch are placed in devdependencies (such as wepack) when you develop dependenci,.

but I have a question, for example, after React, is compiled by webpack and babel, it becomes js, and can be run directly in the browser (as I understand it).

then you should not rely on React, after launch. Why do you usually put react in dependencies?

here are some reference links:
https://stackoverflow.com/que.

Jan.23,2022

will be put into the package in dependencies, and react will be packaged in your project js file. And some tools help to compile, such as webpack, all kinds of loader, babel are put in devdependcies, because it is impossible for you to pack the whole webpack,loader into your js file, right?

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-1b3d43a-2c372.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-1b3d43a-2c372.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?