A plugin for webpack as an sftp client
npm install webpack-sftp-client
var WebpackSftpClient = require('webpack-sftp-client');
new WebpackSftpClient({
port: '22',
host: 'exmaple.com',
username: 'root',
password: 'password',
path: './build/',
remotePath: '/data/website/demo/',
// Show details of uploading for files
verbose: true
})
Copyright (c) 2016 - 2017 zhangyuhang