webpack-obfuscator
时间: 2023-09-04 19:16:58 浏览: 139
webpack-obfuscator是一个用于在Webpack构建过程中对JavaScript代码进行混淆的工具。它可以帮助开发者保护他们的代码,使其难以被逆向工程或盗用。通过对代码进行混淆,webpack-obfuscator可以将代码中的变量名、函数名等进行重命名,使得代码更加难以理解和分析。对于webpack4的安装,您可以使用npm命令进行安装,具体命令是npm install --save-dev javascript-obfuscator webpack-obfuscator@2.6。而对于webpack5的安装,则需要使用npm install --save-dev javascript-obfuscator webpack-obfuscator进行安装。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [webpack优化系列五:vue项目配置 webpack-obfuscator 进行代码加密混淆](https://blog.csdn.net/duanhy_love/article/details/127324096)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [js混淆 webpack-obfuscator](https://blog.csdn.net/weixin_42535013/article/details/121018286)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文