thedesk/vue.config.js
kPherox 5ff5038650
Add vue.config.js
build options
Move postcss config from package.json to vue.config.js
2019-04-06 02:33:21 +09:00

43 lines
777 B
JavaScript

module.exports = {
css: {
loaderOptions: {
postcss: {
plugins: [
require('autoprefixer')({}),
],
},
},
},
pluginOptions: {
electronBuilder: {
builderOptions: {
productName: "TheDesk Vue",
appId: "dev.kpherox.thedesk-vue",
win: {
"target": [
"nsis",
"portable",
],
},
nsis: {
oneClick: false,
allowToChangeInstallationDirectory: true,
artifactName: "TheDesk-Vue-setup.${ext}",
},
linux: {
target: [
"snap",
],
category: "Network",
},
mac: {
target: [
"dmg",
],
},
},
},
},
}