dayzdockerserver/web/vite.config.js
Daniel Ceregatti 20700cdc26 Refactor Error to Dialog.
Comment out Steam API key handling. We'll need some other way to get the key other than reading the environment.
Separate alert from steamcmd "server output" dialog.
Remove the old CSS file, as that will need to be figured out.
Look into the IDE not resolving files. WIP.
2024-08-09 17:25:53 -07:00

18 lines
338 B
JavaScript

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import path from 'path'
export default defineConfig({
cacheDir: '/tmp/vite',
plugins: [vue()],
resolve: {
alias: {
'@': path.resolve(__dirname, "./docroot/src/"),
}
},
server: {
fs: {
allow: ['/node_modules', '/web']
}
}
})