feat: bundle node_modules into the server
This commit is contained in:
parent
cac64a6fbe
commit
b8d22beb17
6 changed files with 21 additions and 27 deletions
|
|
@ -26,6 +26,10 @@ export default defineConfig({
|
|||
plugins: [tailwindcss, autoprefixer],
|
||||
},
|
||||
},
|
||||
ssr: {
|
||||
target: 'node',
|
||||
noExternal: true,
|
||||
},
|
||||
define: {
|
||||
__VERSION__: JSON.stringify(version),
|
||||
__PREFIX__: JSON.stringify(prefix),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue