forked from leo60228/unofficial-homestuck-collection
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vue.config.js
60 lines (60 loc) · 1.8 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
50
51
52
53
54
55
56
57
58
59
60
module.exports = {
configureWebpack: {
devtool: "source-map",
resolve: {
alias: {
// Include the vue compiler so mods can use templates
"vue$": "vue/dist/vue.esm.js"
}
},
module: {
rules: [
{
test: /\.node$/,
loader: "node-loader",
}
]
}
},
pluginOptions: {
electronBuilder: {
nodeIntegration: true,
builderOptions: {
appId: "com.bambosh.unofficialhomestuckcollection",
productName: "The Unofficial Homestuck Collection",
copyright: "Copyright © 2020-2022 Bambosh",
directories: {
buildResources: "build"
},
win: {
target: {
target: "zip",
arch: [
"x64",
"ia32"
]
},
artifactName: "${productName}-${version}-${os}-${arch}.${ext}",
asarUnpack: [
"**/node_modules/sharp/**"
]
},
mac: {
target: ["dmg"],
category: "entertainment",
identity: null,
asarUnpack: [
"**/node_modules/sharp/**"
]
},
linux: {
target: ["AppImage", "tar.gz"],
category: "game",
asarUnpack: [
"**/node_modules/sharp/**"
]
}
}
}
}
}