diff options
Diffstat (limited to 'Aamukampa.Frontend/vite.config.ts')
| -rw-r--r-- | Aamukampa.Frontend/vite.config.ts | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Aamukampa.Frontend/vite.config.ts b/Aamukampa.Frontend/vite.config.ts new file mode 100644 index 0000000..2dd7341 --- /dev/null +++ b/Aamukampa.Frontend/vite.config.ts @@ -0,0 +1,25 @@ +import { defineConfig } from 'vite' + +// https://vitejs.dev/config/ +export default defineConfig({ + clearScreen: false, + server: { + watch: { + 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]` + } + } + } +}) |
