blob: 2dd7341d210f079e09e44e6cc6c0f7df7652253e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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]`
}
}
}
})
|