Closed nkhine closed 1 year ago
Hi! I believe the "Dynamic require of \"stream\" is not supported"
can be solved by adding a banner to your bundling options:
bundling: {
..., // other bundling options
banner: "import{createRequire}from 'module';const require=createRequire(import.meta.url);"
}
There's an open issue at esbuild for this but I don't have a link to it handy
Hi @ottokruse , I got the https://github.com/aws-samples/amazon-cognito-passwordless-auth/issues/90, and that fixed it. thanks
Hello, I have an issue when trying to use a custom email as per the docs, https://github.com/aws-samples/amazon-cognito-passwordless-auth/blob/main/CUSTOMIZE-AUTH.md#customize-auth, here is my stack:
Where index.ts is:
But I get the following error:
Disabling it, the email works without issue.
Any advice is much appreciated