2023-10-12 16:17:42 +00:00
|
|
|
import legacy from '@vitejs/plugin-legacy'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
root: './src',
|
2023-10-12 16:38:19 +00:00
|
|
|
base: '/static',
|
2023-10-12 16:17:42 +00:00
|
|
|
publicDir: '../assets',
|
|
|
|
build: {
|
2023-11-05 18:51:55 +00:00
|
|
|
outDir: '../dist',
|
|
|
|
minify: false
|
2023-10-12 16:17:42 +00:00
|
|
|
},
|
|
|
|
plugins: [
|
|
|
|
legacy({
|
|
|
|
targets: ['defaults', 'not IE 11'],
|
|
|
|
}),
|
|
|
|
]
|
|
|
|
}
|