-
Notifications
You must be signed in to change notification settings - Fork 5
/
vue.config.js
49 lines (47 loc) · 1.69 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 externals = ['monaco-editor']
const MonacoWebpackPlugin = require("monaco-editor-webpack-plugin");
module.exports = {
configureWebpack: {
devtool: 'source-map',
plugins: [
new MonacoWebpackPlugin({
features: ["!codelens", "!fontZoom", "!iPadShowKeyboard", "!snippets"],
languages: []
})
],
},
pluginOptions: {
electronBuilder: {
externals,
nodeIntegration: true,
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, // Manually enable type checking during webpack bundling for background file.
enableRemoteModule: true,
builderOptions: {
productName: "Stinker",
appId: "io.itzik.stinker",
publish: ['github'],
files: ['**/*', 'build/icons/**/*'],
extraResources: [
{
from: './public',
to: 'public',
filter: ["**/*.phar"]
}
],
asarUnpack: ["**/*.phar"],
mac: {
entitlements: "./build/entitlements.mac.plist",
entitlementsInherit: "./build/entitlements.mac.plist",
icon: './build/icons/icon.icns',
category: "public.app-category.developer-tools",
hardenedRuntime: true,
target: [
"dmg",
"zip"
],
},
}
},
}
}