Files
bssapp/ui/quasar.config.js

122 lines
2.8 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// quasar.config.js
import { defineConfig } from '#q-app/wrappers'
export default defineConfig(() => {
return {
/* =====================================================
APP INFO
===================================================== */
productName: 'Baggi BSS',
productDescription: 'Baggi Tekstil Business Support System',
/* =====================================================
BOOT FILES
===================================================== */
boot: ['dayjs'],
/* =====================================================
GLOBAL CSS
===================================================== */
css: ['app.css'],
/* =====================================================
ICONS / FONTS
===================================================== */
extras: [
'roboto-font',
'material-icons'
],
/* =====================================================
BUILD (PRODUCTION)
===================================================== */
build: {
vueRouterMode: 'hash',
esbuildTarget: {
browser: ['es2022', 'firefox115', 'chrome115', 'safari14'],
node: 'node20'
},
// Cache & performance
gzip: true,
preloadChunks: true
},
/* =====================================================
DEV SERVER (LOCAL)
===================================================== */
devServer: {
server: { type: 'http' },
port: 9000,
open: true,
// DEV proxy (CORSsuz)
proxy: {
'/api': {
target: 'http://localhost:8080',
changeOrigin: true,
secure: false
}
}
},
/* =====================================================
QUASAR FRAMEWORK
===================================================== */
framework: {
config: {
notify: {
position: 'top',
timeout: 2500
}
},
lang: 'tr',
plugins: [
'Loading',
'Dialog',
'Notify'
]
},
animations: [],
/* =====================================================
SSR / PWA (DISABLED)
===================================================== */
ssr: {
prodPort: 3000,
middlewares: ['render'],
pwa: false
},
pwa: {
workboxMode: 'GenerateSW'
},
/* =====================================================
MOBILE / DESKTOP
===================================================== */
capacitor: {
hideSplashscreen: true
},
electron: {
preloadScripts: ['electron-preload'],
inspectPort: 5858,
bundler: 'packager',
builder: {
appId: 'baggisowtfaresystem'
}
},
bex: {
extraScripts: []
}
}
})