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
// The issue occurs only if it's:// // - function declaration (not function expression or arrow function)// - export (not export default)exportasyncfunctiontest(){}
require call of babel-runtime is wrongly placed to end of the file, so it throws an error when you run the code. I think it can be the issue of babel rather than this plugin, but reported here first anyway.
When you compile the following code:
with the settings:
require
call ofbabel-runtime
is wrongly placed to end of the file, so it throws an error when you run the code. I think it can be the issue ofbabel
rather than this plugin, but reported here first anyway.Original issue was repored here: vercel/next.js#202
You can reproduce the issue with https://github.com/nkzawa/babel-plugin-module-resolver-issue
The text was updated successfully, but these errors were encountered: