zip-upload-huawei

2.0.2 • Public • Published

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

Package Sidebar

Install

npm i zip-upload-huawei

Weekly Downloads

0

Version

2.0.2

License

Apache-2.0

Unpacked Size

19.6 kB

Total Files

10

Last publish

Collaborators

  • martincui