webpack-obfuscator
webpack-obfuscator copied to clipboard
webpack-obfuscator is not generating sourcemaps
We use "webpack-obfuscator": "^3.5.1" with const webpackObfuscator = new WebpackObfuscator( { sourceMap: true, });
but sourcemaps files not generating I also opened stackoverflow question but without help. https://stackoverflow.com/questions/73569780/javascript-obfuscator-with-webpack-obfuscator-source-map-files-not-working Thank you in advance for any help :)
Just to confirm I'm seeing the same issue with 3.5.1
.
Any solution? or any workaround?
This appears to be working
new WebpackObfuscatorPlugin({
sourceMap: true,
})
This is because sourceMap
is an option no ObfuscatorOptions
from javascript-obfuscator
. It is generating sourcemaps for me, but unsure how accurate those sourcemaps are as I have yet to test them.
As of version 3.5.1, the plugin doesn't generate source maps at all.
@oofdog I couldn't find any documentation about this plugin (WebpackObfuscatorPlugin), I gave it a try and it didn't work.
We need source maps to be able to debug apps in production.
Any updates on this?