refactor: 打包配置

pull/180/head
xiaojunnuo 2020-11-08 02:40:06 +08:00
parent 45c63a7dcc
commit 344c732ad6
12 changed files with 13 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 584 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 941 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 KiB

View File

@ -29,7 +29,19 @@ module.exports = {
from: 'extra',
to: 'extra'
}
]
],
appId: 'dev-sidecar',
productName: 'Dev-Sidecar',
// eslint-disable-next-line no-template-curly-in-string
artifactName: 'Dev-Sidecar-${version}.${ext}',
copyright: 'Copyright © 2020',
nsis: {
oneClick: false,
perMachine: false,
allowElevation: true,
allowToChangeInstallationDirectory: true
},
compression: 'maximum'
},
chainWebpackMainProcess (config) {
config.entry('mitmproxy').add(path.join(__dirname, 'src/bridge/mitmproxy.js'))