Frontend regenerator-runtime BUG

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:
You should use the versions as defined by Metabase:

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

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