Frontend regenerator-runtime BUG

Hi:
I have seen that there is an import for regenerator-runtime in app.js like:
import "core-js/stable";
import "regenerator-runtime/runtime";
But I have found that when I add an async function to app.js, the browser console will tigger an error:
like Uncaught ReferenceError: regeneratorRuntime is not defined.
So the import regenerator-runtime may not affect the code.

Besides, the babel version may be old, when I upgrade the babel version, it can not run.

Hi @KLonHJ
I would recommend that you have a look at React developer information:
https://stackoverflow.com/questions/33527653/babel-6-regeneratorruntime-is-not-defined
You should use the versions as defined by Metabase:
https://www.metabase.com/docs/latest/developers-guide.html

Please don't create multiple topics about the same problem.

Just for reference: Can not add a function in app-main.js