npm

ftp-webpack-upload-plugin

1.0.1 • Public • Published

ftp-webpack-upload-plugin

support upload file to ftp server

Install

npm i --save-dev ftp-webpack-upload-plugin

Usage

const FtpWebpackUploadPlugin = require('ftp-webpack-upload-plugin')

new FtpWebpackUploadPlugin({
       ftpConfig: {
           user: 'username',
           host: 'host',
           password: 'password'
       },
       uploadPath: {
            js: 'js path',
            css: 'css path',
            img: 'images path',
            font: 'font path'
       }
})

options

uploadPath: accept String(Unified Path Upload) or Object(Subpath Upload)

Readme

Keywords

Package Sidebar

Install

npm i ftp-webpack-upload-plugin

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

4.32 kB

Total Files

3

Last publish

Collaborators

  • sea_zl