-
Notifications
You must be signed in to change notification settings - Fork 3
/
vue.config.js
29 lines (25 loc) · 858 Bytes
/
vue.config.js
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
// vue.config.js
module.exports = {
pluginOptions: {
electronBuilder: {
builderOptions: {
extraFiles: [
{
"from": "resources/${os}",
"to": "Resources/bin",
"filter": ["**/*"]
}
]
},
chainWebpackMainProcess: config => {
config.target('electron-renderer')
// Chain webpack config for electron main process only
},
chainWebpackRendererProcess: config => {
// Chain webpack config for electron renderer process only
// The following example will set IS_ELECTRON to true in your app
config.target('electron-renderer')
},
}
}
}