diff options
| author | Joel Stålnacke <joel@saker.fi> | 2025-08-02 18:25:14 +0300 |
|---|---|---|
| committer | Joel Stålnacke <joel@saker.fi> | 2025-08-02 18:25:14 +0300 |
| commit | 6b46930cfd23c59a359460c84085e9333aea4521 (patch) | |
| tree | 9d1d11838ee4e836c0338ef1ab338fe234fc7f4b /TJLaskuri.Frontend/vite.config.ts | |
| parent | 40525e4f0ff494a3b5bf9cebad5d00ac25a3d840 (diff) | |
Initial frontend
Diffstat (limited to 'TJLaskuri.Frontend/vite.config.ts')
| -rw-r--r-- | TJLaskuri.Frontend/vite.config.ts | 12 |
1 files changed, 12 insertions, 0 deletions
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]` + } } } }) |
