javascript-obfuscator / webpack-obfuscator

javascript-obfuscator plugin for Webpack
https://github.com/javascript-obfuscator/javascript-obfuscator
BSD 2-Clause "Simplified" License
876 stars 82 forks source link

vue-cli4 webpack4 report errors #177

Open xiyuvi opened 4 days ago

xiyuvi commented 4 days ago

When I installed the plugin and referenced it in vue.config.js, before using the plugin, I started the project and encountered the following error message

"javascript-obfuscator": "2.5.0",
"webpack-obfuscator": "2.6.0"
const WebpackObfuscator = require('webpack-obfuscator');
 WARNING  Compiled with 1 warning                                                                                                                                                                       10:39:31

 warning  in ./node_modules/.store/source-map@0.1.43/node_modules/source-map/lib/source-map/source-map-generator.js

Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

Can anyone help me? Thank you very much