resistants/vite.config.ts

18 lines
362 B
TypeScript
Raw Normal View History

2023-01-29 20:27:02 +00:00
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react-swc'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
base: "/resistants",
2023-01-29 20:27:02 +00:00
build: {
rollupOptions: {
output: {
entryFileNames: "resistants.js",
assetFileNames: "resistants.[ext]"
}
},
2023-01-29 20:27:02 +00:00
outDir: "public"
}
})