How to make changes to javascript code bundled with webpack without having the source code?

I need to make a small change in the frontend javascript code, but I only have the access to the code deployed on the server which is bundled with webpack, the source code is lost.

I tried using shuji and it outputs the source files, but I have no idea how to bundle it back with the changes I have made.