2.0.0 • Published 7 months ago
dd-autossh-test v2.0.0
webpack接入
const autossh = require('dd-autossh')
module.exports = {
//其他配置
plugins: [
new autossh({
host: '******',
username: '***',
password: '******',
remotePath: '****'
})
]
}
fetk接入
const autossh = require('dd-autossh')
module.exports = getConfig({
//其他配置
configurePlugins(pluginIns){
pluginIns.push({
name: 'autossh',
plugin: autossh,
args: [{
host: '****',
username: '****',
password: '****',
remotePath: '****'
}],
})
}
});