Migrate Flask React template into Forge

This commit is contained in:
rob
2026-11-17 19:39:11 +00:00
parent bc6b6d26f1
commit 444406d2fc
109 changed files with 9427 additions and 13 deletions
@@ -0,0 +1,30 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
css: {
preprocessorOptions: {
scss: {
loadPaths: ['node_modules'],
quietDeps: true,
},
},
},
server: {
proxy: { '/api': 'http://localhost:5000' },
port: 8080
},
plugins: [react()],
test: {
environment: 'jsdom',
globals: true,
setupFiles: './src/test/setup.js',
include: ['src/**/*.{test,spec}.{js,jsx}'],
css: true,
coverage: {
provider: 'v8',
reporter: ['text', 'html'],
include: ['src/**/*.{js,jsx}'],
},
},
})