refactor: 子进程

This commit is contained in:
xiaojunnuo
2020-11-06 18:59:54 +08:00
parent 2d218c1463
commit 032465beae
68 changed files with 10974 additions and 465 deletions

View File

@@ -1,3 +1,4 @@
const path = require('path')
module.exports = {
configureWebpack: config => {
const configNew = {
@@ -29,6 +30,9 @@ module.exports = {
to: 'extra'
}
]
},
chainWebpackMainProcess (config) {
config.entry('mitmproxy').add(path.join(__dirname, 'src/bridge/mitmproxy.js'))
}
}
}