Closed rhysviz closed 10 months ago
Could you please provide a more complete example with repro steps?
In trying to reproduce this I realised it was just an error resulting from quite a complicated webpack set up 😬
I was basically running babel (with rewire) twice on some files which explains the error.
Thanks for the library 😃
I'm trying to use this in a project where I am upgrading to webpack 5. I am compiling my tests with webpack and it produces the following error:
Is it possible to make the restore export related to the import name somehow to avoid this issue? i.e.