townsquare/vite.config.js
Pingumask 67ff3ddf6a Upgrade node to 22, bundle with vite
Updated docker compose for --watch usage
2024-12-09 22:26:20 +01:00

17 lines
367 B
JavaScript

import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue2";
export default defineConfig({
plugins: [vue()],
base: "/",
build: {
rollupOptions: {
output: {
entryFileNames: "[name].js",
chunkFileNames: "[name].[hash].js",
assetFileNames: "[name].[hash].[extname]",
},
},
target: "es2022",
},
});