NodeJS Build

npm i -D @sveltejs/adapter-node

File: svelte.config.js

import adapter from '@sveltejs/adapter-node';

Then

# npm run build

The output files will in "./build" directory.

Ref: https://kit.svelte.dev/docs/adapter-node