Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

faster-webpack-upload-plugin

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

faster-webpack-upload-plugin

Upload your files to ftp server easier and faster,add support to 'webpack --watch'

  • 1.0.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
392
decreased by-8.41%
Maintainers
1
Weekly downloads
 
Created
Source

faster-webpack-upload-plugin

Upload your files to ftp server easier and faster,add support to 'webpack --watch'

Installation

npm i -D faster-webpack-upload-plugin

Usage

add following code to your webpack config file.

const FasterUploadPlugin = require('faster-webpack-upload-plugin');

var webpackConfig = {
  entry: 'index.js',
  output: {
    path: 'assets',
    filename: 'index_bundle.js'
  },
  plugins: [
    new FasterUploadPlugin({
      host: 'host',
      port: 'post', // default: 22
      username: 'username',
      password: 'password',
      localPath: 'local path', // eg. 'assets'
      remotePath: 'remote path', // eg. /home/website/assets
      log: boolean, //default: false, is log details
      clearFolder: boolean //default: false, clear remote path files for the first time
    })
  ]
}

for other options you can see https://github.com/mscdex/ssh2#client-methods

License

This project is licensed under MIT.

Keywords

FAQs

Package last updated on 16 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc