clima-cuida-care-weather/vite.config.ts
2026-05-20 19:15:40 -03:00

11 lines
280 B
TypeScript

import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
export default defineConfig(({ command }) => ({
base: command === 'build' ? '/clima-cuida-care-weather/' : '/',
plugins: [react()],
test: {
environment: 'node',
globals: true,
},
}));