← Todos los crates de Fission

fission-command-site

Static site command implementation for the fission command
0.16.0 · linux · macos · windows
Ver paquetes publicados en crates.io
Repositorio del código

fission-command-site

Static-site command implementation for the fission command.
fission-command-site wires the fission site CLI surface to fission-shell-site. It is part of the single installed fission executable.

What it contains

•
fission site check for route, content, link, metadata, and production-readiness validation.
•
fission site build for generating static HTML, CSS, search data, favicons, sitemap, robots output, and page metadata.
•
fission site serve for local development preview.

Local serving paths

The shared server used by run --target web, site serve, and browser tests keeps the selected root lexical and works with mapped/WebDAV paths without filesystem canonicalisation. URL paths allow ordinary relative components; existing descendant symlinks and Windows reparse points are rejected. The explicitly selected root may itself be reached through a link or mount. Keep build output under your control while serving; metadata checks are not a sandbox against concurrent filesystem replacement.
Readiness checks validate each local startup asset before reporting the server ready. The default per-asset limit is 64 MiB. For larger WebAssembly bundles or other required assets, set FISSION_SERVING_MAX_ASSET_BYTES to a positive byte count, for example 134217728 for 128 MiB. The readiness check buffers each asset while comparing the served response with the build output, so raise this limit only when the app needs it.

Documentation

See Static sites and the CLI reference at fission.rs.

Licence

Apache-2.0