Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webpack-obfuscator is not generating sourcemaps #149

Open
er11cohen opened this issue Sep 14, 2022 · 4 comments
Open

webpack-obfuscator is not generating sourcemaps #149

er11cohen opened this issue Sep 14, 2022 · 4 comments

Comments

@er11cohen
Copy link

er11cohen commented Sep 14, 2022

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 :)

@dantatepico
Copy link

Just to confirm I'm seeing the same issue with 3.5.1.

@Avinashgurugubelli
Copy link

Any solution? or any workaround?

@catpreneur
Copy link

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.

@markerio
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants