jws-frontend/quasar.config.ts
Methapon2001 90589b3daf
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 9s
chore: update deps
2025-03-26 11:51:27 +07:00

47 lines
1.1 KiB
TypeScript

// Configuration for your app
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-js
import { defineConfig } from '#q-app/wrappers';
import { fileURLToPath } from 'node:url';
export default defineConfig((ctx) => {
return {
boot: ['i18n', 'axios', 'components'],
css: ['app.scss'],
extras: ['mdi-v7'],
build: {
target: {
browser: ['es2022', 'firefox115', 'chrome115', 'safari14'],
node: 'node20',
},
typescript: {
vueShim: true,
},
vueRouterMode: 'history',
vitePlugins: [
[
'@intlify/unplugin-vue-i18n/vite',
{
ssr: ctx.modeName === 'ssr',
include: [fileURLToPath(new URL('./src/i18n', import.meta.url))],
},
],
],
},
devServer: {
host: '0.0.0.0',
open: false,
port: 5173,
},
framework: {
config: {},
plugins: ['Dark', 'Dialog', 'Notify', 'Loading'],
iconSet: 'mdi-v7',
cssAddon: true,
},
animations: [],
pwa: {
workboxMode: 'GenerateSW', // 'GenerateSW' or 'InjectManifest'
},
};
});