vertigo-cli - packaging tool for vertigo library
This package provides vertigo binary that allows to create and package vertigo-based projects.
- Runs build
- Gathers artifacts produced by the build and
vertigo/vertigo-macrolibraries:index.htmlwasm_run.jsyour_project.wasm- included static files
- Optimizes your .wasm file using
wasm-opt - Adds hashes to filenames[^hashes] (to bypass borwsers cache)
- Places everything in the
builddictionary
Installation
[^hashes]: Except hashes for included static files - these are computed by vertigo-macro lib.
Usage
Generate new project
Build the project
Point your browser to the ./build directory to check the build.