rollup-plugin-gleam

Vite compatible Rollup plugin for Gleam language

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
import hello

@external(javascript, "./app.ffi.ts", "render")
fn render(text: String) -> Nil

pub fn main() -> Nil {
  render(hello.hello("World"))
}