1、在 D:\NewKuwolive-web\WebRoot\webpack\tasks下 添加localUpload.js
2、D:\NewKuwolive-web\WebRoot\webpack\package.json 修改package.js
"scripts": {
"11": "gulp testUpload",
"39": "gulp upload",
"start": "webpack",
"build": "npm run start && gulp build",
"upload:bd": "npm run build && gulp localUpload",
"upload:11": "npm run build && npm run 11",
"upload:39": "npm run build && npm run 39"
},
添加 "upload:bd": "npm run build && gulp localUpload",
3、D:\NewKuwolive-web\WebRoot\webpack\README.md 修改README.md
### 上传本地
```
npm run upload:bd
原文:https://www.cnblogs.com/wangwei07/p/13740286.html