fis-deploy-distfile

0.0.1 • Public • Published

fis-deploy-distfile

通过配置将部分生成后的文件,复制到其他位置 reg 支持正则匹配 ,按照生成后的uri进行匹配 release 生成后的目录,基于代码跟目录


fis.config.merge({
    modules : {
        deploy : 'distfile'

    },
    settings : {
        deploy : {
			distfile: {
				path : [
					{
						reg : '**.css',
						release : '/abc/$&.css'
					},
					{
						reg : '/index.html',
						release : '/test/index.html'
					}
				]
			}
        }
    }
});

Readme

Keywords

Package Sidebar

Install

npm i fis-deploy-distfile

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • qdsang