Mark jwt-decode as an external dependency of Keycloak JS (#24971)

Closes #24970

Signed-off-by: Jon Koops <jonkoops@gmail.com>
This commit is contained in:
Jon Koops 2023-11-23 13:50:50 +01:00 committed by GitHub
parent f41383a851
commit 631debb6ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,7 +39,7 @@ function defineOptions({
file: path.join(targetDir, `${file}.mjs`),
},
],
external: ["base64-js", "js-sha256"],
external: ["base64-js", "js-sha256", "jwt-decode"],
},
// Legacy Universal Module Definition, or “UMD”, with inlined dependencies.
{