dd-autossh
v1.0.17
Published
```js const autossh = require('dd-autossh') module.exports = { //其他配置 plugins: [ new autossh({ host: '******', username: '***', password: '******', remotePath: '****' }) ] } ```
Downloads
9
Readme
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: '****'
}],
})
}
});