javascript-obfuscator / javascript-obfuscator/webpack-obfuscator
vue-cli4 webpack4 report errors
- Dominant language
- TypeScript
- Stars
- 928
- Forks
- 92
- PR merge metrics
- No merged PRs in 30d
Description
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
```package.json
"javascript-obfuscator": "2.5.0",
"webpack-obfuscator": "2.6.0"
```
```vue.config.js
const WebpackObfuscator = require('webpack-obfuscator');
```
```npm run dev
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
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the reported vue.config.js setup and the webpack-obfuscator dependency versions in package.json. Run npm run dev and inspect the warning from source-map/lib/source-map/source-map-generator.js. Done means identifying whether the plugin or dependency causes the critical dependency warning and documenting or fixing the compatible configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, webpack
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100