ftp-upload-vite
v1.0.2
Published
``` es6 vite ftp自动上传到服务器 ```
Downloads
3
Readme
ftp-upload
es6 vite ftp自动上传到服务器
安装
npm install ftp-upload-vite -g
使用教程
项目根目录新建配置文件 deplay.js
export default {
"user": "xxxx",
"password": "xxx",
"host": "xxx",
"port": xxx,
"localRoot": "/dist",
"remoteRoot": "/xxx",
"include":[],
"exclude":[]
}
执行下面命令即可上传对应配置目录下的文件
ftp-upload