dioxus/packages/web/build.rs
2022-02-01 15:44:08 -05:00

8 lines
244 B
Rust

use std::{fs::File, io::Write};
fn main() {
// write the interpreter code to a local file
let mut file = File::create("interpreter.js").unwrap();
file.write_all(dioxus_interpreter_js::INTERPRTER_JS.as_bytes())
.unwrap();
}