trunk
Bundle and serve Rust WASM web applications. More information: https://trunkrs.dev/commands/.
- Build the application in release mode and serve it locally:
trunk serve --release
- Build the application and serve it on a specific port:
trunk serve
- Build for production at a specific output directory:
trunk build --release
- Build with a specific public URL path for hosting in a subdirectory:
trunk build --release --public-url /
- Clean the output directory:
trunk clean
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
