Reputation: 41
I have a svelte kit app that uses the auto adapter. Is building it and then using npm run preview okay or is npm run preview just for testing out the build. I'd prefer self hosting if possible.
Upvotes: 4
Views: 648
Reputation: 4542
No, vite preview
, as stated here is not for production use.
Instead, use some other approach to serve your application (will depend on application type/adapter).
Upvotes: 0