svelte/preview

Preview Production Build

Preview the production build

svelte
preview
production

Command

npm run preview

Explanation

Preview the production build locally to test how it will work in production.

Examples

Preview production build

npm run preview

Preview on specific port

npm run preview -- --port 4173