webpack-sftp-upload

1.2.1 • Public • Published

webpack-sftp-client

Introduction

A plugin for webpack as an sftp client.

Forked from sqhtiamo. Resolves an issue where you cannot instantiate the plugin twice to upload two different files to two different directories.

Installation

npm install webpack-sftp-client

Usage

var WebpackSftpClient = require('webpack-sftp-client');

new WebpackSftpClient({
    port: '22',
    host: 'exmaple.com',
    username: 'root',
    password: 'password',
    path: './build/',
    remotePath: '/data/website/demo/'
})

Readme

Keywords

Package Sidebar

Install

npm i webpack-sftp-upload

Weekly Downloads

1

Version

1.2.1

License

MIT

Last publish

Collaborators

  • scrawfor