Closed
Description
Not a bug report, just curious why all packages are put under dependencies
in package.json and none under devDependencies
when ejecting with react-scripts 1.0.13
. Surely things like webpack, chalk, and eslint are not runtime dependencies? I can't see it explained anywhere and I know that previously most of the packages would go under devDependencies
as I am using an ejected version of an old create-react-app.
Activity
miraage commentedon Sep 4, 2017
It was removed in 1.0.8 (#2657).
It looks easy to fix on the paper.
Welcome, dependencies.
I think they should be added as
devDependencies
exceptpromise, whatwg-fetch, object-assign
which are used by polyfills.js as an additional entry.gaearon commentedon Sep 4, 2017
Please see #2696.
There is no real difference in our case.
Feel free to move them if you have opinions about them.
tbillington commentedon Sep 5, 2017
Ok, I can see why, thanks for the info :)