-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvue.config.js
More file actions
37 lines (37 loc) · 1.13 KB
/
vue.config.js
File metadata and controls
37 lines (37 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
const { defineConfig } = require('@vue/cli-service');
module.exports = defineConfig({
transpileDependencies: true,
pluginOptions: {
electronBuilder: {
builderOptions: {
appId: 'com.thinreports.section-editor',
publish: null,
mac: {
artifactName: '${productName}-${version}-darwin.${ext}',
category: 'public.app-category.developer-tools',
darkModeSupport: false,
icon: 'build/icon.icns'
},
linux: {
artifactName: '${productName}-${version}-linux.${ext}',
category: 'Development',
target: 'AppImage'
},
win: {
artifactName: '${productName}-${version}-win32.${ext}',
icon: 'build/icon.ico'
}
},
// This setting is for a workaround for the problem that assets like font file are not being loaded.
// https://github.com/nklayman/vue-cli-plugin-electron-builder/issues/1647
customFileProtocol: './',
preload: 'src/preload.ts'
},
i18n: {
locale: 'en',
fallbackLocale: 'ja',
localeDir: 'locales',
enableInSFC: false
}
}
});