tubapi-node/vite.config.js
Cesar Mendivil b0e088b9de feat: integrate Vite for frontend development and build process
- Added Vite scripts for development, build, and preview in package.json
- Created README.md with instructions for frontend setup
- Added client/index.html as the main entry point for the frontend
- Implemented client/src/main.js for handling file uploads and UI interactions
- Added client/src/styles.css for styling the frontend components
- Configured Vite in vite.config.js for building the frontend assets
2026-03-21 20:27:18 -07:00

11 lines
216 B
JavaScript

import { defineConfig } from 'vite'
import path from 'path'
export default defineConfig({
root: path.join(__dirname, 'client'),
build: {
outDir: path.resolve(__dirname, 'dist'),
emptyOutDir: true
}
})