1.0.0 • Published 10 months ago
string-replace-plugin v1.0.0
string-replace-plugin
webpack plugin to replace string
How to use
// webpack config
// vue.config.js
config.plugin('StringReplacePlugin').use(StringReplacePlugin, [
{
patterns: [
{
search: '一',
replace: '敏感词'
},
{
search: '二',
replace: '敏感词'
}
// ...
]
}
])
1.0.0
10 months ago