Skip to content

Commit

Permalink
U-update
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyupeng committed May 23, 2019
1 parent 863450a commit 634726c
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,26 @@ module.exports = {
pluginOptions: {
electronBuilder: {
builderOptions: {
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')
},

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')
},


}
}
}

0 comments on commit 634726c

Please sign in to comment.