Skip to content

Automatically packaged into a zip archive and upload the Huawei wecode platform

License

Notifications You must be signed in to change notification settings

fzw6592470/zip-upload-huawei

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zip-upload-huawei

Automatically packaged into a zip archive and upload the Huawei wecode platform

Install

npm i --save-dev zip-upload-huawei

Usage

Configuration

appid

Type: String

Huawei wecode appid

zipname

Type: String Default: build

The final zip name to be packaged, the default is "build", the final zip package name is "build.zip" or you enter the "zipname".zip

username

Type: String

huawei cloudlink workplace login name

password

Type: String

huawei cloudlink workplace login password

excludeFile

Type: Array

Exclude packaged file list e.g: ["static"]

example

webpack.config.js

const ZipUploadHuaWei = require('zip-upload-huawei');
module.exports = {
 plugins: [
   new ZipUploadHuaWei({
     appid: '123456789123456789',
     zipname: '20190709',
     username: 'MartinCui',
     password: '123456',
     excludeFile: ['static']
   }),
 ]
}

License

MIT

About

Automatically packaged into a zip archive and upload the Huawei wecode platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages