1
0

Re-moved webroot to src/main/resources

This commit is contained in:
Jose
2025-03-12 21:52:45 +01:00
parent 8e9494c5ce
commit b5561dea70
13 changed files with 857 additions and 20 deletions

View File

@@ -1,12 +1,13 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import cleanPlugin from 'vite-plugin-clean'
// https://vite.dev/config/
export default defineConfig({
server: {
port: 8080,
},
plugins: [react()],
plugins: [react(), cleanPlugin()],
build: {
rollupOptions: {
output: {
@@ -17,7 +18,7 @@ export default defineConfig({
}
}
},
outDir: 'dist',
outDir: '../backend/src/main/resources/webroot',
},
publicDir: 'public',
})