Skip to content

diy4869/ftp-upload-webpack-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ftp-upload-webpack-plugin

npm

安装

npm i ftp-upload-webpack-plugin -D

使用

interface FTPUploadWebpackPluginOptions {
    host: string,
    port: number,
    user: string,
    password: string,
    copyPath: string,
    uploadPath: string,
    cover?: boolean
}

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

new FTPUploadWebpackPlugin(options: FTPUploadWebpackPluginOptions)

选项

选项 说明 必填
host ftp地址
port ftp端口
user 用户名
password 密码
copyPath 本地路径
uploadPath 需要上传的ftp路径
cover 是否覆盖上传

About

基于node实现的一个webpack ftp上传插件

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published