1.0.2 • Published 8 years ago

tfux-deploy-replace-file v1.0.2

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

fis3-deploy-replace-file

fis3-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')
    ]
});
1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago