mirror of
https://github.com/m1k1o/neko-rooms.git
synced 2026-11-02 22:51:34 -06:00
20 lines
445 B
JavaScript
20 lines
445 B
JavaScript
const { defineConfig } = require('@vue/cli-service')
|
|
module.exports = defineConfig({
|
|
productionSourceMap: false,
|
|
transpileDependencies: [
|
|
'vuetify'
|
|
],
|
|
publicPath: './',
|
|
assetsDir: './',
|
|
devServer: {
|
|
allowedHosts: "all",
|
|
proxy: process.env.API_PROXY ? {
|
|
'^/api': {
|
|
target: process.env.API_PROXY,
|
|
timeout: 0, // because of SSE
|
|
},
|
|
} : undefined,
|
|
compress: false, // because of SSE
|
|
}
|
|
})
|