m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-14 08:03:48 -05:00
Files
cup/web/vite.config.ts
Sergio c0c7f7c0e9 Finished basic functionality for multiple servers in the backend.
No special CLI or Liquid support yet and also no refresh support
2025-01-03 16:10:17 +02:00

18 lines
459 B
TypeScript

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
build: {
rollupOptions: {
// https://stackoverflow.com/q/69614671/vite-without-hash-in-filename#75344943
output: {
entryFileNames: `assets/[name].js`,
chunkFileNames: `assets/[name].js`,
assetFileNames: `assets/[name].[ext]`,
},
},
},
});