or you can add "pack": "cloudide-pack" in scripts, then run pack script
npm run pack
Help
cloudide-pack -h show help of tool.
cloudide-pack packing in default mode (development mode), in this mode, all files are packed.
cloudide-pack -p pack in production mode, all unnecessary files are excluded.
cloudide-pack -i <files>, input which file you want to include, or use batch matching with quotation marks.`.
cloudide-pack -e <files>, input which file you want to exclude, or use batch matching with quotation marks.`.
You can also create a ‘pack-config.json’ file in workspace, directly to set files you want to include or exclude like: { “exclude”: [], “include”: [] }.
cloudide-pack -s, skip npm install before packing.`.
@cloudide/plugin-packager
A packager tool for huawei-cloudide’s plugin.
Usage
install cloudide plugin-packager
run plugin-packager
or you can add
"pack": "cloudide-pack"in scripts, then run pack scriptHelp
cloudide-pack -hshow help of tool.cloudide-packpacking in default mode (development mode), in this mode, all files are packed.cloudide-pack -ppack in production mode, all unnecessary files are excluded.cloudide-pack -i <files>, input which file you want to include, or use batch matching with quotation marks.`.cloudide-pack -e <files>, input which file you want to exclude, or use batch matching with quotation marks.`.cloudide-pack -s, skip npm install before packing.`.Batch matching rule