-
Notifications
You must be signed in to change notification settings - Fork 0
/
vue.config.js
35 lines (35 loc) · 798 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
30
31
32
33
34
35
const { defineConfig } = require("@vue/cli-service")
module.exports = defineConfig({
transpileDependencies: true,
publicPath: "./",
devServer: {
proxy: process.env.VUE_APP_API_URL,
},
chainWebpack: (config) => {
config.module.rule("images").set("parser", {
dataUrlCondition: {
maxSize: 50 * 1024, // 50KiB
},
})
},
pluginOptions: {
electronBuilder: {
nodeIntegration: true,
customFileProtocol: "./",
productName: "Warhol App",
appId: "sk.sng.warhol",
mac: {
// icon: "src/assets/icons/mac/icon.icns",
},
win: {
// icon: "src/assets/icons/win/icon.ico",
target: [
{
target: "portable",
arch: ["x64"],
},
],
},
},
},
})