Skip to content

Conversation

@IvanGoncharov
Copy link
Member

I did 'require => import' change together with top-level await change in #3612
I assumed if top-level async is working it means import should also work.
In reality, actions/github-script was passing code to async function
constructor. That means top-level await is not really top-level since it
gets injected into a function and we still execute in CJS context and
import will fail.

I did 'require => import' change together with top-level await change in graphql#3612 I assumed if top-level `async` is working it means `import` should also work. In reality, `actions/github-script` was passing code to async function constructor. That means top-level await is not really top-level since it gets injected into a function and we still execute in CJS context and `import` will fail.
@netlify
Copy link

netlify bot commented Jun 3, 2022

Deploy Preview for compassionate-pike-271cb3 ready!

Name Link
🔨 Latest commit 2b1f0c0
🔍 Latest deploy log https://app.netlify.com/sites/compassionate-pike-271cb3/deploys/629a89a555a99b00090bd0ce
😎 Deploy Preview https://deploy-preview-3626--compassionate-pike-271cb3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@IvanGoncharov IvanGoncharov merged commit 2fb6eca into graphql:main Jun 3, 2022
@IvanGoncharov IvanGoncharov deleted the kindOnTypes branch June 3, 2022 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant