Back to Flutter Rust Bridge

Frb Codegen Command Build Web

website/docs/generated/_frb-codegen-command-build-web.mdx

2.12.01020 B
Original Source
Build for web platform

Usage: flutter_rust_bridge build-web [arguments]
-h, --help                          Print this usage information.
    --dart-root                     Root folder of dart package
-c, --rust-root                     Directory of the rust package
                                    (defaults to "rust")
-o, --output=<PKG>                  Output path
    --release                       Compile in release mode
-v, --[no-]verbose                  Display more verbose information
    --cargo-build-args              Arguments passed to cargo-build
    --wasm-bindgen-args             Arguments passed to wasm-bindgen
    --wasm-pack-rustup-toolchain    Override RUSTUP_TOOLCHAIN environment variable when running wasm-pack
    --wasm-pack-rustflags           Override RUSTFLAGS environment variable when running wasm-pack
    --dart-compile-js-entrypoint    If specified, compile Dart into JavaScript and use this option as entrypoint

Run "flutter_rust_bridge help" to see global options.