0.1.2 • Published 7 years ago

au-fis3 v0.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

au-fis3

安装

npm install au-fis3 -g

配置

module.exports = function(tiny){
    tiny.setOption({
        // root: './src', // release 构建,入口文件根目录(不设置时默认为 env.cmd路径)
        dest: './dist/', //输出目录 ,root 等于 dest 会直接修改源文件(不推荐)
        clean: true, //au-fis-conf.js 文件有改动时必须清除缓存(推荐设为真,每次构建自动清除)
        relativePath: true, //为真时保留相对地址
        md5Query: 'v', //查询的名字,如 v = 文件哈希
        noVersionLog: false, //为真时,输出no version日志
        isDelDest: true, //为真且root!=dest时,删除输出目录
        config: function(fis) {
          /*
          示例:
          fis.match('*.{js,css}', {
              useQuery: 'hash'// 值为 'hash'时,v=文件哈希 ,值为 ''时,v=值 删除
          });
          fis.match('image', {
              useQuery: 'hash'
          });*/
        }
     });
};

使用

au-fis3 release [media]

fis

更多fis配置参看fis3 https://github.com/fex-team/fis3

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago