You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using it to obfuscate a React component we're writing with default options. The component is built with Webpack 5 and Typescript as libraryTarget: 'commonjs2' and it builds properly, however, when I go to use the component in any other React project, I receive the following error:
Critical dependency: the request of a dependency is an expression
WARNING in ./node_modules/package-name/dist/bundle.js 1:22488-22503
Critical dependency: the request of a dependency is an expression
I've narrowed down the problem to this plugin, specifically.
ignoreRequireImports is javascript-obfuscator option. So you have to install latest version of javascript-obfuscator as a peer dependency for webpack-obfuscator
Hi there, thanks for the package!
I am using it to obfuscate a React component we're writing with default options. The component is built with Webpack 5 and Typescript as
libraryTarget: 'commonjs2'
and it builds properly, however, when I go to use the component in any other React project, I receive the following error:I've narrowed down the problem to this plugin, specifically.
I appreciate any insight!
Edit: could have to do with this issue?
javascript-obfuscator/obfuscator-loader#1
The text was updated successfully, but these errors were encountered: