rewire
rewire copied to clipboard
Rewire when exports have been frozen
It's not currently possible to rewire a file where the exports have been wrapped with Object.freeze() as the __get__ & __set__ methods cannot be added.
Would it be possible for rewire to clone the exported object and add its methods, rather than mutating the exported object itself?