Closed bep closed 3 days ago
So, I have done some research on this and there's no way to cache the path found by npx
.[^1]. So what I'm suggesting/doing is:
WORKDIR\node_modules\.bin\<binaryName>
npx
if npx
is available.[^1]: There's npm which
, but that triggers a "download prompt", which is not something we can support.
Resolving binaries with
npx
seem to have about 200ms overhead, which isn't great ...See https://github.com/tailwindlabs/tailwindcss/issues/13886