lustre-labs / dev-tools

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

Rewrite relative gleam imports in ffi code to resolve correctly. #57

Open hayleigh-dot-dev opened 1 month ago

hayleigh-dot-dev commented 1 month ago

The vite-gleam plugin for site lets one write javascript code that can import relative gleam files directly, for example import { main } from './app.gleam'.

We should add similar support so that users could do both of the following: