sootsim preview

production-like preview build

sootsim preview

Build the sootsim frontend in preview mode, then either serve it locally or export a static artifact path for later packaging.

terminal

sootsim preview [options]

Options

flagdescription
--export <path>export a standalone preview artifact instead of serving
--port <number>preview server port (defaults to 4173)

Examples

terminal

sootsim preview
sootsim preview --export ./preview.html

What Preview Is For

preview is the production-leaning counterpart to a built shell. It is useful when you want to validate:

  • a built shell rather than a hot-reloading dev server
  • how the app feels without the dev middleware path
  • what a sharable local preview URL looks like

The --export path is still lightweight today, but this is the command that should own future static preview packaging.

Ready to build?

Run your React Native app in the browser. No simulators, no native toolchain, no waiting.

npm i -g sootsim