You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the produced file is not ES2015 code. Any way I can enable this?
Shouldn't be the default behavior as Next.js is targetting ES2015 by default?
The text was updated successfully, but these errors were encountered:
baptisteArno
changed the title
babel-plugin-superjson-next: The produced js should target ES2015 like Next.js defaultbabel-plugin-superjson-next: it should target ES2015 like Next.js default
Jul 29, 2021
Hi @baptisteArno! SuperJSON can be (and is) used outside of Next.js, which is why we need to be careful around such changes. Could you elaborate / share a link on the implications of targeting ES2015? What are the improvements that would bring?
No, there's no way for you to change the build output for SuperJSON locally. I could definitely see us moving to ES2015 output, if there are considerable improvements in that. If it does nothing but remove IE11 support, that'd be a net-negative.
Hi!
It looks like the produced file is not ES2015 code. Any way I can enable this?
Shouldn't be the default behavior as Next.js is targetting ES2015 by default?
The text was updated successfully, but these errors were encountered: