Skip to content

LiXinLeLe/tfux-deploy-replace-file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

tfux-deploy-replace-file

tfux-deploy-replace-file

INSTALL

npm install [-g] tfux-deploy-replace-file

USE

fis.match('**', {
    deploy: [
        fis.plugin('replace-file', {
            from: 'from/string',
            to: 'to/string' //file path
        }),
        fis.plugin('local-deliver') //must add a deliver, such as http-push, local-deliver
    ]
});

EXAMPLE

fis.match('**', {
    deploy: [
        fis.plugin('replace-file', {
            from: '__zhTranslate()',
            to: 'i18n/zh_CN.json'
        }),
        fis.plugin('local-deliver')
    ]
});

About

fis3-deploy-replace-file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published