feat: bundle node_modules into the server

This commit is contained in:
Aarnav Tale 2025-03-24 16:08:34 -04:00
parent cac64a6fbe
commit b8d22beb17
6 changed files with 21 additions and 27 deletions

View file

@ -26,6 +26,10 @@ export default defineConfig({
plugins: [tailwindcss, autoprefixer],
},
},
ssr: {
target: 'node',
noExternal: true,
},
define: {
__VERSION__: JSON.stringify(version),
__PREFIX__: JSON.stringify(prefix),