Closed jmikrut closed 3 years ago
You can use ignoreRequireImports: false
option
You can use
ignoreRequireImports: false
option
This doesn't appear to be part of v2.6 (I'm using webpack 4). Can this be back ported to v2?
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?
https://github.com/javascript-obfuscator/obfuscator-loader/issues/1