slint/examples/printerdemo/wasm/index.js
Simon Hausmann 50eafc3fd7 Simplify wasm builds
Replace webpack, which needs a configuration file, etc. with parcel,
which requires none. Just "parcel index.html" and it'll figure out the
rest :-)
2020-08-11 14:22:52 +02:00

2 lines
45 B
JavaScript

import { main } from './Cargo.toml';
main();