This app takes a basic SvelteKit app and uses the build output from the node adapter to run the site as an Electron app.
The node adapter for SvelteKit outputs to a build folder.
The index.cjs file imports the index.js starting point from the build server, then checks the server is running and loads the home page for the app.
In the build folder index.js file:
See electron-log ReadMe for details on where logs are stored and use.