Y
Y
yuradun2021-07-15 19:49:05
Vue.js
yuradun, 2021-07-15 19:49:05

Is it possible to restore a project folder from a dist folder?

After the deployment, vue.js creates a dist folder where the minified "built" project files are located.

It is very necessary to somehow turn the dist folder into a project folder by the reverse method, because the project folder has been deleted, and dist is located on the hosting, from where it can be downloaded. Whether it is possible to implement it somehow? Is it possible to restore the project in any way? Help me please.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey delphinpro, 2021-07-15
@delphinpro

If your build has sourcemaps, then at least you can manually restore your sources. To do this, open the page in a browser, go to the source tab and search there.
If there are no sourcesmaps, then only from memory.

A
Aetae, 2021-07-15
@Aetae

Theoretically - it is possible. In practice, no one wrote the necessary software (decompiler) due to lack of demand. You can use powerful beautifiers like jsnice to bring the code to a more readable form, but it will be infinitely far from the source code.
Better look towards software for restoring files like recuva and, possibly, restoring local history in ide.

F
Froggyweb, 2021-07-15
@Froggyweb

No

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question