How to rename ES6 class methods across bundle with a program

306 views Asked by At

I want to obfuscate ES6 class method names. I am using webpack to bundle all my code into a single bundle.js.

Is it possible to find all uses of functions belonging to a certain class and rename them?

Im looking to write a program I can use as part of my build process, not an IDE feature.

How would I do this?

0

There are 0 answers