Index
Edit

Build

usage: sanity build [OUTPUT_DIR]

   Builds the current Sanity configuration to a static bundle

Options
  --source-maps Enable source maps for built bundles (increases size of bundle)
  --no-minify Skip minifying built Javascript (speeds up build, increases size of bundle)
  -y, --yes Use unattended mode, accepting defaults and using only flags for choices

Examples
  sanity build
  sanity build --no-minify --source-maps

Previous: Command Line InterfaceNext: Configcheck