Closed pablochacin closed 2 months ago
The xk6-ts integrates k6pack library (esbuild based lib) into k6 run command. The integration a bit hacky, and temporal. One of the assumptions is that flags preceding the positional arg (script name in this case). So this is why there is a problem with this kind of "flag after positional arg" usage. I recommend reordering the command line as a quick workaround. I'm not sure is it worth to fix the current hack argument handling, since the real integration will not use it.
I would recommend documenting as a warning that the script must be the last argument in the CLI
Thank you @pablochacin , a compatibility warning added to README.
Running a test with the
--out
option fails with ano such file
error