2.0.2 • Published 5 years ago

zip-upload-huawei v2.0.2

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
5 years ago

zip-upload-huawei

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

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

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

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago