目录

fis-deploy-tar

说明

将FIS产出进行tar打包 仅支持FIS 1.8.5+

使用方法

安装

npm i fis-deploy-tar -g

启用

fis.config.set('modules.deploy', ['default', 'tar'])

配置

fis.config.set('settings.deploy.tar', {
    publish : {
        from : '/',
        to: '/',
        gzip: true,
        level: 0, //压缩质量 0-9,越大压缩比越高
        memLevel: 6, //压缩使用的内存量 1-9, 越大占用内存越多,执行速度越快
        file: './output/output.tar.gz'
    }
});

发布

fis release -Dompd publish

注意

不支持中文文件名,目前node下未找到中文名支持友好的tar库

关于
30.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号