ftp-upload-webpack-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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(optionsFTPUploadWebpackPluginOptions)
 

选项

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

Readme

Keywords

none

Package Sidebar

Install

npm i ftp-upload-webpack-plugin

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

4.67 kB

Total Files

4

Last publish

Collaborators

  • diy4869