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/'
})

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i webpack-sftp-upload

    Weekly Downloads

    2

    Version

    1.2.1

    License

    MIT

    Last publish

    Collaborators

    • scrawfor