All checks were successful
Build and Deploy Website / build (push) Successful in 2m26s
21 lines
477 B
TypeScript
21 lines
477 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
base: '/app/',
|
|
build: {
|
|
outDir: '../Backend/public/app',
|
|
emptyOutDir: true,
|
|
rollupOptions: {
|
|
output: {
|
|
manualChunks: {
|
|
vendor: ['react', 'react-dom'],
|
|
cloudscape: ['@cloudscape-design/components', '@cloudscape-design/global-styles'],
|
|
},
|
|
},
|
|
},
|
|
},
|
|
})
|