Refactor project structure and update configurations
- Update .gitignore to include additional build artifacts, logs, and editor files - Modify package.json scripts for improved development workflow and remove unused scripts - Change Vite output directory to 'dist' for consistency - Simplify App.jsx by removing unused state and functions, enhancing readability - Adjust server.js to serve static files from the new 'dist' directory
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ import react from '@vitejs/plugin-react'
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
build: {
|
||||
outDir: 'public/dist',
|
||||
outDir: 'dist',
|
||||
rollupOptions: {
|
||||
input: {
|
||||
main: './frontend/index.html',
|
||||
|
||||
Reference in New Issue
Block a user