Closed florian-milky closed 1 year ago
Oh interesting! Yeah the babel transpilation logic is finicky 😅 The way I'd go about fixing this is to add a new testcase in https://github.com/blitz-js/babel-plugin-superjson-next/tree/main/test/pages, and then step through https://github.com/blitz-js/babel-plugin-superjson-next/blob/main/src/index.ts with a debugger to fix it. Would you be interested in contributing a fix for this? I can also do it, just let me know.
@Skn0tt I'd be interested but I don't think I'll have the time. Sorry!
opened a draft PR. not sure when I'll have some spare time to find a solution, but i'll get to it! in the meantime, i'm happy you found a workaround already.
Hi! I wanna report a small bug kind of similar to https://github.com/blitz-js/babel-plugin-superjson-next/issues/100
This did not work 🔴
I changed to
and it worked ✅