Files
ebook/vite.config.ts
koziavin a98fc9e5a2
All checks were successful
Deploy Application / deploy (push) Successful in 14s
fix commit
2025-06-11 23:00:32 +04:00

16 lines
395 B
TypeScript

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import tailwindcss from '@tailwindcss/vite'
export default defineConfig({
plugins: [vue(), tailwindcss()],
build: {
outDir: '../www/ebook.miduway.space/dist', // Output to Nginx served directory
emptyOutDir: true,
},
server: {
host: '0.0.0.0', // Allow Docker container access
port: 4002,
},
})