Closed hjellek closed 15 hours ago
Can you give an example?
I assume the output from your script comes before the filename then?
Maybe it would work if we take the part after the last space character...
When I log out stdout at the position I mentioned, I get this example output:
> @team/package@1.0.0 prepack
> yarn clean && yarn build
> @team/package@1.0.0 postpack
> yarn clean
team-package-1.0.0.tgz
It works to split the stdout and grab the last line, I can create a PR shortly
I am trying to run a script in
prepack
, but it causes the output to be more than only the filename and therefore fails because it cannot find the packed file.