-
Notifications
You must be signed in to change notification settings - Fork 19
/
vue.config.js
44 lines (44 loc) · 1.09 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
module.exports = {
pages: {
index: {
entry: 'src/main.js', //entry for the public page
template: 'public/index.html', // source template
filename: 'index.html' // output as dist/*
},
worker: {
entry: 'src/worker.js',
template: 'public/worker.html',
filename: 'worker.html'
}
},
devServer: {
historyApiFallback: {
rewrites: [
{ from: /\/index/, to: '/index.html' },
{ from: /\/worker/, to: '/worker.html' }
]
}
},
pluginOptions: {
electronBuilder: {
builderOptions: {
productName: 'Do not laugh',
appId: 'xyz.andypotato.demo.donotlaugh',
linux: {
target: {
target: 'appimage',
arch: ['armv7l']
}
},
mac: {
hardenedRuntime: false,
entitlements: './entitlements.mac.plist',
extendInfo: {
"NSCameraUsageDescription": "Please allow access to your camera",
"NSMicrophoneUsageDescription": "Please allow access to your microphone",
}
},
}
}
}
};