14 lines
365 B
TypeScript
14 lines
365 B
TypeScript
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
server: {
|
|
// Visual Studio creates and locks index files under .vs while editing.
|
|
// They are unrelated to the app and must not be watched by Vite on Windows.
|
|
watch: {
|
|
ignored: ['**/.vs/**', '**/.git/**'],
|
|
},
|
|
},
|
|
})
|