fis3-deploy-gfe-replace
v1.0.3
Published
本插件将会根据配置替换字符串
Downloads
2
Readme
fis3-deploy-gfe-replace
fis3-deploy-gfe-replace
INSTALL
npm install [-g] fis3-deploy-gfe-replace
USE
fis.match('**', {
deploy: [
fis.plugin('gfe-replace', {
patterns: [
{
match: '__JS_DOMAIN__',
replacement:'//js.atguat.net.cn'
},
{
match: '__CSS_DOMAIN__',
replacement:'//css.atguat.net.cn'
}
]
}),
fis.plugin('local-deliver') //must add a deliver, such as http-push, local-deliver
]
});