30 lines
723 B
JavaScript
30 lines
723 B
JavaScript
import { defineConfig } from 'astro/config'
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
import { fileURLToPath } from 'url'
|
|
import path from 'path'
|
|
|
|
const __dirname = path.dirname(fileURLToPath(import.meta.url))
|
|
|
|
export default defineConfig({
|
|
site: 'https://dealplustech.com',
|
|
vite: {
|
|
plugins: [tailwindcss()],
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, './src'),
|
|
'@components': path.resolve(__dirname, './src/components'),
|
|
'@layouts': path.resolve(__dirname, './src/layouts'),
|
|
'@styles': path.resolve(__dirname, './src/styles'),
|
|
},
|
|
},
|
|
},
|
|
output: 'static',
|
|
build: {
|
|
assets: '_assets',
|
|
},
|
|
server: {
|
|
host: '0.0.0.0',
|
|
port: 3100,
|
|
},
|
|
})
|