lustre-labs / dev-tools

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

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

Open hayleigh-dot-dev opened 4 months ago

hayleigh-dot-dev commented 4 months 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: