fis3-preprocessor-gfe-replace
v1.0.1
Published
本插件将会根据配置替换字符串
Downloads
2
Readme
fis3-preprocessor-gfe-replace
本插件将会根据配置替换字符串
npm install fis3-preprocessor-gfe-replace -g
fis-conf
fis.match('**/*.{html,css,js}', {
preprocessor: fis.plugin('gfe-replace', {
patterns: [
{
match: '__JS_DOMAIN__',
replacement:'//js.atguat.com'
},
{
match: '__CSS_DOMAIN__',
replacement:'//css.atguat.com'
}
]
})
})