-
Notifications
You must be signed in to change notification settings - Fork 4
/
vue.config.js
49 lines (48 loc) · 1.46 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
const { defineConfig } = require("@vue/cli-service");
const { resolve } = require("path");
module.exports = defineConfig({
transpileDependencies: true,
configureWebpack: {
devtool: "source-map",
resolve: {
symlinks: false,
alias: {
"@frontend": resolve(__dirname, "./src/frontend/"),
"@electron": resolve(__dirname, "./src/electron/"),
"@common": resolve(__dirname, "./src/common/"),
"@": resolve(__dirname, "./src/")
}
}
},
pluginOptions: {
electronBuilder: {
nodeIntegration: true,
mainProcessFile: "src/electron/main.ts",
rendererProcessFile: "src/frontend/main.ts",
disableMainProcessTypescript: false, // Manually disable typescript plugin for main process. Enable if you want to use regular js for the main process (src/background.js by default).
mainProcessTypeChecking: false,
builderOptions: {
productName: "LINKa. смотри",
appId: "su.linka.looks",
fileAssociations: [{
ext: "linka"
}],
publish: ["github"],
win: {
icon: "build/icons/icon.ico",
publisherName: "LINKa Ltd",
signingHashAlgorithms: ["sha256"],
signAndEditExecutable: true,
verifyUpdateCodeSignature: false
},
extraResources: [
{
from: "./extraResources/",
to: "extraResources",
filter: ["**/*"]
}
]
}
}
}
});