You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's do what I suggested there for global CLI too, and move all the code except the Node version check into a separate file that would be lazily required. This way we can use modern syntax there without screwing up the version check message.
(packages/react-scripts) switch normal functions to arrow
(packages/react-scripts) switch var to const
(packages/create-react-app) split into two scripts - index.js with node version check that should be available for node 0.12 and create-react-app.js (suggest your script name) with modern syntax that is required from index.js after node version check
Started here - #1433 (comment)
(only for packages/react-scripts)
var
->const
. For example:const
is usedvar
is usedvar
andconst
are usedThe text was updated successfully, but these errors were encountered: