refactor: 打包配置
After Width: | Height: | Size: 60 KiB |
After Width: | Height: | Size: 5.2 KiB |
After Width: | Height: | Size: 584 B |
After Width: | Height: | Size: 941 B |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 353 KiB |
|
@ -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'))
|
||||
|
|