forked from WebTools-NG/WebTools-NG
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvue.config.js
More file actions
49 lines (48 loc) · 1.13 KB
/
vue.config.js
File metadata and controls
49 lines (48 loc) · 1.13 KB
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
process.env.VUE_APP_VERSION = process.env.npm_package_version;
module.exports = {
pluginOptions: {
i18n: {
locale: 'en',
fallbackLocale: 'en',
localeDir: 'locales',
enableInSFC: false
},
electronBuilder: {
builderOptions: {
appId: "com.webtools.webtools-ng",
artifactName: "${productName}-${version}.${env.AppRev}.${ext}",
directories: {
"buildResources": "src/assets"
},
"extraResources": [
{
"from": "./public/locales",
"to": "locales"
},
{
"from": "./public/version.json",
"to": "version.json"
}
],
linux: {
category: "Utility",
icon: './src/assets/WebTools-512.png',
target: 'AppImage'
},
win: {
icon: './src/assets/WebTools-512.png'
},
mac: {
icon: './src/assets/WebTools-512.icns',
target: 'dmg'
},
"nsis": {
"differentialPackage": false
},
"dmg": {
"writeUpdateInfo": false
}
}
}
}
}