const dotenv = require('dotenv') const { configure } = require('quasar/wrappers') dotenv.config({ path: '.env', override: true }) module.exports = configure(function () { return { boot: ['axios'], css: ['app.scss'], extras: ['roboto-font', 'material-icons'], build: { target: { browser: ['es2019', 'edge88', 'firefox78', 'chrome87', 'safari13.1'] }, vueRouterMode: 'history', env: { API_BASE_URL: process.env.API_BASE_URL?.trim() || 'http://localhost:19080/api', }, }, devServer: { port: 9000, open: false, }, framework: { plugins: ['Notify', 'Dialog', 'Loading'], }, } })