You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
async function f() {
const a = await import("b");
}
or a plain import on top.
[REQUIRED] Expected behavior
Should run since Google Cloud Functions support ESM modules for 2 years now.
[REQUIRED] Actual behavior
Linter error "unexpected token import". Note that adding "type":"module" to package.json doesn't solve the problem since the linter file is recognised as a module etc.
Were you able to successfully deploy your functions?