Skip to content
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

Minimize transpilation of async functions #24

Open
acjay opened this issue Apr 3, 2019 · 0 comments
Open

Minimize transpilation of async functions #24

acjay opened this issue Apr 3, 2019 · 0 comments

Comments

@acjay
Copy link

acjay commented Apr 3, 2019

With the default Next.js Babel settings, async functions are transpiled to generators, which are further translated to Regenerator. This makes debugging more awkward than it needs to be.

I can't figure out how to disable this behavior with Next.js's Babel and Webpack configurations (see also this Stack Overflow question). But it seems like this sort of change would be useful for most people using electron-next, since the JS runtime support needs are tightly targeted for a pure Electron app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant