didi-postpackager-alerttest
解决将测试机(外网可访问)的页面分享到线上的事故
功能
- 自动将发布到测试机的页面中添加提示"请勿分享"提示
用法
$ npm install -g didi-postpackager-testalert
$ vi path/to/project/fis-conf.js #编辑项目配置文件
//file : path/to/project/fis-conf.jsfisconfig;fisconfig;
配置项
//deploy为`test`的强制不添加提示 fisconfig;//deploy为`local`的也添加提示,优先级低于excludefisconfig;