mirror of
https://ceregatti.org/git/daniel/dayzdockerserver.git
synced 2025-05-06 14:21:18 +00:00

No more CNDs. All software is now bundled and served from a proper node-based development server. Switch to using proper Vue files, so we can have proper IDE integration. Open new port for the dev server mentioned above. Split status and mod info requests in the back end. Bypass CORS while developing.
17 lines
332 B
JavaScript
17 lines
332 B
JavaScript
import { fileURLToPath, URL } from 'node:url'
|
|
|
|
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
resolve: {
|
|
alias: {
|
|
'@': fileURLToPath(new URL('./src', import.meta.url))
|
|
}
|
|
},
|
|
server: {
|
|
port: 8001
|
|
}
|
|
})
|