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
Currently, react-scripts is just a simple "script", with almost zero arguments/flags.
$ yarn run react-scripts
Unknown script "undefined".
$ yarn run react-scripts --help
Unknown script "--help".
This can cause
Make users confusing without --help
Difficult to add more features. For example, I want to build my project with a NODE_ENV value different than "production". With a CLI interface, I can use something like vue-cli-service build --env test to present this feature.
A complete CLI interface can solve these issues.
Describe the solution you'd like
Maybe we can choose a famous npm package to implement it.
commander for example, who has already been installed by react-scripts: react-scripts > html-webpack-plugin > html-minifier > commander
And of course, there are many other options in the JS world.
Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Is your proposal related to a problem?
Currently,
react-scripts
is just a simple "script", with almost zero arguments/flags.This can cause
--help
vue-cli-service build --env test
to present this feature.A complete CLI interface can solve these issues.
Describe the solution you'd like
Maybe we can choose a famous npm package to implement it.
commander for example, who has already been installed by
react-scripts
:react-scripts
>html-webpack-plugin
>html-minifier
>commander
And of course, there are many other options in the JS world.
Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: