1.0.0 • Published 7 years ago
sftp-upload-webpack v1.0.0
webpack-sftp-upload-plugin
SFTP Upload Plugin for Webpack
Installation
npm i -D webpack-sftp-upload-plugin
Usage
add following code to your webpack config file.
var WebpackSFTPUpload = require('webpack-sftp-upload-plugin');
new WebpackSFTPUpload({
host: 'host',
port: 'post', // default: 22
username: 'user',
privateKey: '/path/to/pem',
targetPath: '/path/on/sftp/server'
srcFile: '/local/path/to/file'
})
1.0.0
7 years ago