Skip to content

主要是对webpack打包之后的代码里面第三方插件的敏感词之类的进行替换

Notifications You must be signed in to change notification settings

450611/replaceStr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

replaceStr

主要是对webpack打包之后的代码里面第三方插件的敏感词之类的进行替换

npm install --save-dev words-replace
const wordsReplace = require('words-replace');
let webPackConfig = {
  plugins: [
     //....
     new wordsReplace(/[0-9]/g, 'output')
     //...
  ]
}

About

主要是对webpack打包之后的代码里面第三方插件的敏感词之类的进行替换

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published