Get code back from prod build

I did a blunder and clicked undo all changes in VSCODE. I have the prod build before i did this. The step undid days worth of work. I wonder if I can get code back from the build folder. Thanks.

1 Like

extract apk file using winrar. And find main.js folder. It has all your code in prototypes form.

Simple answer: No. Your .ts files don’t exist in the build in any form that would help you.
You can go into main.js, but this is the minified and optimized JS version of your app.

Lesson: Commit more often.

1 Like

Thanks HarinderSingh and Sujan12 for replying…

I had sunken heart last night. Recovered some pieces but still quite a bit lost. And yes, I learnt it. Commit often.

1 Like