E
E
exhang2019-02-28 00:48:24
JavaScript
exhang, 2019-02-28 00:48:24

Is it possible to restore the source map created by uglify?

There is a certain project, I really want to look "under the hood", the code is compressed by uglify, there is no source map, is it possible to restore it somehow, or is there no way to look at the source code at all?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Volintsev, 2019-02-28
@copist

no source map

No, you can't restore the source code without a source map.
You can format this shit so that the pads appear and the brackets are neatly spaced, but shortened variables and porridge in the form of modules will remain. In addition, this will be written in vanilla JavaScript, this application will not be reusable in React Angular Vue or anything else that it was originally written in. Not a single line of code can be copied and pasted. Just look with your eyes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question