-
-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: Async Neos Ui Plugins: regeneratorRuntime is not defined
#3470
Comments
Alternatively i can recommend using the new esbuild api: https://github.com/neos/neos-ui/tree/8.3/packages/neos-ui-extensibility |
Hm shouldn't this be solved by a correct browserslist config? |
regeneratorRuntime is not defined
I did also notice this problem in one of my plugins - but in relation with generators This is a regression from the EsBuild change in 8.2 as we removed the polyfills ( Additionally this problem is obscured because other Neos Ui Plugins might now already ship the global I think as seb said, plugins using the modern webpack extensibility (v8.2 or 8.3) should simply at no time build plugins which require the legacy I just tested it, it seems removing the neos-ui/packages/neos-ui-extensibility-webpack-adapter/scripts/helpers/webpack.config.js Line 48 in 375b20a
|
Description
When using neos expensibility to develop a plugin, using async throws errors:
[Description of the bug or feature]
Steps to Reproduce
Expected behavior
I should be able to use async and Promises with neos-ui-extensibility without adding additional packages. It should not throw additional errors.
Actual behavior
I need to add an additional dependency "regenerator runtime" for no error to show up
Package: https://www.npmjs.com/package/regenerator-runtime
Affected Versions
Neos-ui-extensibility: 8.2
UI: 8.2
The text was updated successfully, but these errors were encountered: