1
0
Fork 0
mirror of https://github.com/Nutomic/ibis.git synced 2024-11-22 23:21:08 +00:00

create wasm files

This commit is contained in:
Felix Ableitner 2024-03-06 16:05:43 +01:00
parent 235dcf06aa
commit 4fe777dd3c
3 changed files with 12 additions and 1 deletions

1
assets/dist/ibis.js vendored

File diff suppressed because one or more lines are too long

Binary file not shown.

12
build.rs Normal file
View file

@ -0,0 +1,12 @@
use std::fs::create_dir_all;
use std::fs::File;
use std::io::Result;
/// Create placeholders for wasm files so that `cargo check` etc work without explicitly building
/// frontend.
fn main() -> Result<()> {
create_dir_all("assets/dist/")?;
File::create("assets/dist/ibis.js")?;
File::create("assets/dist/ibis_bg.wasm")?;
Ok(())
}