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
with sorvor, I use ParseBuildOptions as it helps me reuse same argument parsing logic as esbuild cli itself. This is beneficial for end users since they can then swap sorvor with esbuild without changing the cli arguments if sorvor does not meet their expectations.
However, the argument parsing for serve mode, specifically --serve=8000 or --servedir= are not exposed through a public API.
Would you consider adding a new ParseServeOptions as a public API?
I imagine the usage would then be something like this:
var serveOptions = api.ParseServeOptions(osArgs...)
The text was updated successfully, but these errors were encountered:
with sorvor, I use
ParseBuildOptions
as it helps me reuse same argument parsing logic as esbuild cli itself. This is beneficial for end users since they can then swapsorvor
withesbuild
without changing the cli arguments ifsorvor
does not meet their expectations.However, the argument parsing for serve mode, specifically
--serve=8000
or--servedir=
are not exposed through a public API.Would you consider adding a new
ParseServeOptions
as a public API?I imagine the usage would then be something like this:
The text was updated successfully, but these errors were encountered: