Option to remove "sourcesContent" from generated source map file?
See original GitHub issueHi, I am obfuscating JS code using javascript-obfuscator CLI with source map
enabled. The generated map
file contains sourcesContent
which in turn contains all the source of obfuscated code. Is there an option to tell javascript-obfuscator not to include source content in map
file.
The CLI command I am using.
javascript-obfuscator themes/blue/.source/js --output themes/blue/dist/js --compact true --self-defending true --source-map true
Thanks.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:11 (8 by maintainers)
Top Results From Across the Web
Is it possible to remove "sourcesContent" from webpack ...
I can't find any reference in the docs and there doesn't seem to be an option to turn this off. javascript · webpack...
Read more >Remove Comments From SourceMaps · Issue #49331 - GitHub
I would like a seperate sourcemaps file but with an option to not include comments that are inside any ts files.
Read more >Source Maps - SurviveJS
Inline source maps add the mapping data directly to the generated files. Separate source maps emit the mapping data to separate source map...
Read more >Source-maps could be revealing your private project files
This line describes the location of a generated source-map file for this ... You should not remove all .map files in your build...
Read more >Devtool - webpack
devtool performance production quality
(none) build: fastest rebuild: fastest yes bundle
eval build: fast rebuild: fastest no generated
eval‑cheap‑source‑map build: ok rebuild: fast no transformed
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I personally prefer my variant with
sourceMapSourcesMode
option. Will implement it this week.Feel free to ask about the new option here or create a new issue.