This repository has been archived by the owner on May 30, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathquasar.config.ts
98 lines (91 loc) · 2.18 KB
/
quasar.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
/* eslint-env node */
import { configure } from 'quasar/wrappers';
import { fileURLToPath } from 'node:url';
export default configure((ctx) => {
return {
boot: ['i18n'],
css: ['app.scss'],
extras: ['roboto-font', 'material-icons'],
build: {
target: {
browser: ['es2022', 'firefox115', 'chrome115', 'safari14'],
node: 'node20',
},
vueRouterMode: 'hash', // available values: 'hash', 'history'
vitePlugins: [
[
'@intlify/unplugin-vue-i18n/vite',
{
ssr: ctx.modeName === 'ssr',
include: [fileURLToPath(new URL('./src/i18n', import.meta.url))],
},
],
[
'vite-plugin-checker',
{
vueTsc: {
tsconfigPath: 'tsconfig.vue-tsc.json',
},
eslint: {
lintCommand: 'eslint "./**/*.{js,ts,mjs,cjs,vue}"',
},
},
{ server: false },
],
],
},
devServer: {
open: false, // opens browser window automatically
},
framework: {
config: {},
plugins: ['Platform'],
},
animations: [],
ssr: {
prodPort: 3000, // The default port that the production server should use
middlewares: ['render'],
pwa: false,
},
pwa: {
workboxMode: 'GenerateSW', // 'GenerateSW' or 'InjectManifest'
},
cordova: {},
capacitor: {
hideSplashscreen: true,
},
electron: {
bundler: 'builder', // Use 'builder' to leverage Electron Builder
builder: {
appId: 'com.zolvy.AppleMusic',
mac: {
target: 'dmg',
category: 'public.app-category.music',
},
dmg: {
// Optional DMG configuration settings
contents: [
{
x: 410,
y: 150,
type: 'link',
path: '/Applications',
},
{
x: 130,
y: 150,
type: 'file',
},
],
},
win: {
target: 'msi',
},
publish: null,
},
},
bex: {
contentScripts: ['my-content-script'],
},
};
});