Skip to content

scrat-team/scrat-deploy-compress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

scrat-deploy-compress

说明

提供打包功能, scrat release -d zip

使用方法

fis.config.merge({
  modules: {
    deploy: ['compress']
  },
  settings: {
    deploy: {
      compress: {
        zip: {
          //不配置该项, 则默认为 ../dist/{name}_v{version}_{timestamp}.zip
          file: '../dist/test.zip'
        },
        remote: {
          url: '',
          uploadField: 'files[]',
          formData: {
          },
          auth: {
            username: '',
            password: ''
         }
      }
    }
  }
});