Skip to content

Commit

Permalink
Add error documentation (#135)
Browse files Browse the repository at this point in the history
Co-authored-by: Otto Kruse <[email protected]>
  • Loading branch information
tinti and ottokruse authored Jan 11, 2024
1 parent efd1887 commit 2b389e3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"trailingComma": "es5"
}
5 changes: 5 additions & 0 deletions CUSTOMIZE-AUTH.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ const passwordless = new Passwordless(this, "Passwordless", {
createAuthChallenge: {
// Override entry, to point to your custom code:
entry: join(__dirname, "create-auth-challenge/index.ts"),
bundling: {
// Solves `Dynamic require of "stream" is not supported"` error:
banner:
"import{createRequire}from 'module';const require=createRequire(import.meta.url);",
},
},
},
});
Expand Down

0 comments on commit 2b389e3

Please sign in to comment.