lustre-labs / dev-tools

Lustre's CLI and development tooling: zero-config dev server, bundling, and scaffolding.
45 stars 15 forks source link

--outdir produces wrong output path (since v1.4.0) #58

Closed aonyxrocks closed 1 month ago

aonyxrocks commented 1 month ago

I am building my app like so:

gleam run -m lustre/dev build app --minify=true --outdir="publish/js"

Expectation:

[...]
✅ Bundle produced at `./publish/js/app.min.mjs`

Actual result:

[...]
✅ Bundle produced at `./publish/js/app.min../publish/js`

This started with version 1.4.0 and is still the case with 1.4.1. The last known version to work is 1.3.4.

hayleigh-dot-dev commented 1 month ago

Huh super odd, thanks i'll take a look.

hayleigh-dot-dev commented 1 month ago

Fixed in v1.4.2!