Skip to content

IFWEB/fis3-deploy-local-deliver-ifweb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fis3-deploy-local-deliver-ifweb

说明

改写fis3-deploy-local-deliver,在导出时可以添加部分文件导出到另外的目录。以工程目录(fis-conf.js所在的文件夹)为根目录进行配置

安装

npm install -g fis3-deploy-local-deliver-ifweb

样例

  fis.match('*', {
    deploy: fis.plugin('local-deliver-ifweb', {
      to: '../dev-out',
      other: [ 
        { from:'/cssdemo/css/',
          to: '../css-dev',
          filter: /\.css$/  //过滤器,只有满足过滤器filter并在from下的文件会部署到to的目录下
        },
        {
          from:'./html/',
          to: '../html-dev',
          filter: /\.html$/
        },
        {
          from:'jsdemo/js',
          to: '../js-dev',
          filter: /\.js$/
        }       
      ],
    })
  })
});

About

ifweb fis3 local deliver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published