summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2023-08-18 13:31:35 -0700
committerMatthew Miller <matthew@millerti.me>2023-08-18 13:31:35 -0700
commitbf93b0a1f1773da1682365e7c0b6386d2a7ec53c (patch)
tree925c65aa62565384ebe3238ac5dc95d304099ecf /packages/browser/src
parent797b40972dd7233cab75c5ec8597bd42f49749ef (diff)
Switch to @rollup/plugin-terser in browser build
Diffstat (limited to 'packages/browser/src')
-rw-r--r--packages/browser/src/helpers/webAuthnError.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/browser/src/helpers/webAuthnError.ts b/packages/browser/src/helpers/webAuthnError.ts
index 3f25a54..bf60341 100644
--- a/packages/browser/src/helpers/webAuthnError.ts
+++ b/packages/browser/src/helpers/webAuthnError.ts
@@ -29,6 +29,7 @@ export class WebAuthnError extends Error {
cause: Error;
name?: string;
}) {
+ // @ts-ignore: help Rollup understand that `cause` is okay to set
super(message, { cause });
this.name = name ?? cause.name;
this.code = code;