A packager tool for huawei-cloudide's plugin.
- npm install @cloudide/plugin-packager --save-dev
- run
cloudide-plugin
cloudide-plugin -h
show help of tool.cloudide-plugin
packing in default mode (development mode), in this mode, all files are packed.cloudide-plugin -p
pack in production mode, all unnecessary files are excluded.cloudide-plugin -i <files>
, input which file you want to include, or use batch matching with quotation marks.`.cloudide-plugin -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": [] }.
- *.js only match js files in current dir.
- **/*.js match all js files.
- path/*.js match js files in path.
- !*.js exclude js files in current dir.
- .{jpg,png,gif} means jpg, png or gif.`
- src/**/* match all files in src.