From 6b46930cfd23c59a359460c84085e9333aea4521 Mon Sep 17 00:00:00 2001 From: Joel Stålnacke Date: Sat, 2 Aug 2025 18:25:14 +0300 Subject: Initial frontend --- TJLaskuri.Frontend/vite.config.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'TJLaskuri.Frontend/vite.config.ts') diff --git a/TJLaskuri.Frontend/vite.config.ts b/TJLaskuri.Frontend/vite.config.ts index 37b081b..2dd7341 100644 --- a/TJLaskuri.Frontend/vite.config.ts +++ b/TJLaskuri.Frontend/vite.config.ts @@ -8,6 +8,18 @@ export default defineConfig({ ignored: [ "**/*.fs" // Don't watch F# files ] + }, + }, + build: { + rollupOptions: { + output: { + // Remove hash from output so we can copy the file + // to the content root of the web app + entryFileNames: `[name].js`, + + // chunkFileNames: `[name].js`, + // assetFileNames: `[name].[ext]` + } } } }) -- cgit v1.2.3