Добавление адаптера NodeJS
This commit is contained in:
parent
cfd9b66459
commit
910bf8c285
3 changed files with 42 additions and 10 deletions
|
|
@ -1,19 +1,13 @@
|
|||
// @ts-check
|
||||
import { defineConfig } from 'astro/config';
|
||||
import tailwindcss from '@tailwindcss/vite';
|
||||
import node from '@astrojs/node';
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
vite: {
|
||||
plugins: [tailwindcss()],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': './src',
|
||||
'@constants': './src/constants',
|
||||
'@components': './src/components',
|
||||
'@layouts': './src/layouts',
|
||||
'@styles': './src/styles',
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
output: 'server',
|
||||
adapter: node({ mode: 'standalone' }),
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue