Closed
Description
After yarn eject
the package.json be changed but the all dependencies be inserted to "dependencies" , not "devDependencies".
It is wrong? right?
i already known it does not influence the bundle.js
if i do not import any package under development environment, but it was not comfortable on right way. Many packages was belong to development environment but it shown in dependencies
in package.json
.
Activity
bondz commentedon Apr 16, 2018
This has been asked before, see #2657, #2696, #1764, and #3220
Basically, it is like that because some hosts don't install devDependencies on deployments.
You can move the modules back to
devDependencies
if you want except forreact
,react-dom
, and polyfills used by CRA