forked from gwleuverink/clickup-time-tracker
-
Notifications
You must be signed in to change notification settings - Fork 1
/
vue.config.js
55 lines (51 loc) · 1.86 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
module.exports = {
configureWebpack: {
devtool: 'source-map'
},
pluginOptions: {
electronBuilder: {
nodeIntegration: true,
preload: 'src/preload.js',
productName: 'ClickUp Time Tracker',
artifactName: 'time-tracker-${version}-${os}-${arch}.${ext}',
builderOptions: {
buildVersion: 1,
publish: [
{ provider: 'github', private: false, releaseType: 'release' },
],
mac: {
// target: [ "dmg", "mas" ],
target: [ "dmg" ],
hardenedRuntime: true,
electronLanguages: ["en"],
category: "public.app-category.productivity",
entitlements: "./build/entitlements.mac.inherit.plist",
entitlementsInherit: "./build/entitlements.mac.inherit.plist",
},
mas: {
// asarUnpack: [],
// asarUnpack: ['**/*.node'],
type: "distribution",
hardenedRuntime: false,
gatekeeperAssess: false,
provisioningProfile: "./build/embedded.provisionprofile",
entitlements: "./build/entitlements.mas.plist",
entitlementsInherit: "./build/entitlements.mas.inherit.plist",
},
linux: {
target: ["AppImage"],
executableName: 'Time Tracker',
},
appId: 'nl.gwleuverink.clickup-time-tracker',
afterSign: './notarize.js'
}
}
},
css: {
loaderOptions: {
sass: {
implementation: require('sass'), // This line must in sass option
},
},
}
}