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
It seems that if you use a build script and want it to also handle command line options, you have to write code to handle them yourself (#3383). It would be nice if there is an API to parse BuildOptions from process.argv, so that a build script can just use that and merge them into options parsed to build.
My use case is that I want to have a "build" script in package.json, and want to sometimes invoke it with the --watch option to use the watch mode.
The text was updated successfully, but these errors were encountered:
It seems that if you use a build script and want it to also handle command line options, you have to write code to handle them yourself (#3383). It would be nice if there is an API to parse BuildOptions from
process.argv
, so that a build script can just use that and merge them into options parsed tobuild
.My use case is that I want to have a "build" script in package.json, and want to sometimes invoke it with the
--watch
option to use the watch mode.The text was updated successfully, but these errors were encountered: