2.0 `–out-dir` equivalent

Apologies if this is already supported–I couldn’t find it after a brief documentation check.

I’m using Parcel to bundle dependencies for an Elixir/Phoenix app. This involves bundling JS/CSS out of an assets/ folder, wherein package.json/yarn.lock are found, into ../priv/static. For Parcel 1, I can add --out-dir ../priv/static and things work fine. Under 2, there doesn’t appear to be any obvious way to put things in a folder other than dist/.

Granted, I can copy files from that destination manually, but my package.json scripts are already a bit long. Any chance we can have --out-dir, or documentation for its current equivalent?

Thanks for Parcel.

1 possible answer(s) on “2.0 `–out-dir` equivalent