-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvue.config.js
44 lines (44 loc) · 1.2 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
'use strict';
module.exports = {
configureWebpack: {
externals: {
'fs-extra': 'commonjs fs-extra',
'fs': 'commonjs fs',
'knex': 'commonjs knex',
'sqlite3': 'commonjs sqlite3',
},
module: {
rules: [
{
test: /\.mp3$/,
loader: 'url-loader'
}
],
},
target: 'electron-renderer'
},
pluginOptions: {
electronBuilder: {
mainProcessFile: 'public/background.js',
externals: ['sqlite3', 'knex'],
builderOptions: {
appId: "com.note.app",
productName: "NoteApp",
copyright: "Ali Firat Guler",
asar: true,
win: {
icon: "./public/icon.png",
target: [
{
target: "portable",
arch: [
"x64"
]
}
],
publisherName: "Ali Fırat Güler"
}
}
}
}
}