Skip to main content

ness build

Creates optimized client and server production bundles.

ness build [options]
OptionDescription
--config <file>Use a custom Vite configuration
--mode <mode>Select a Vite environment mode
--sourcemap-clientEmit source maps for the browser bundle
--sourcemap-serverEmit source maps for the server bundle
--profileRun the build with the Node inspector
ness build
ness build --mode staging --sourcemap-server

The default output is written to build/client and build/server. Use ness start to serve the completed build.