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
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Verify canary release
Provide environment information
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
Describe the Bug
Latest next.js + babel not supported Type-only import specifiers because version of
@babel/core
for now is 7.15.0next.js/packages/next/package.json
Line 99 in b2045c7
For my case I can't drop babel, but I need this feature, because it works without babel with typescript 4.5+.
Expected Behavior
Type-only import specifiers are supported
To Reproduce
Just run any project with next.js and babel and try
This code will give you an error
Unexpected token, expected ","
Without babel, all works fine.
The text was updated successfully, but these errors were encountered: