diff --git a/clientConfig/rollup.config.js b/clientConfig/rollup.config.js index 38b5bb68..436eb73b 100644 --- a/clientConfig/rollup.config.js +++ b/clientConfig/rollup.config.js @@ -24,7 +24,7 @@ export default { external: [ 'react', 'react-dom', - 'jwt-decode', - '@kinde-oss/kinde-typescript-sdk' + '@kinde-oss/kinde-typescript-sdk', + '@kinde/jwt-decoder' ] }; diff --git a/middlewareConfig/rollup.config.js b/middlewareConfig/rollup.config.js index 5e4fd15d..9da5f9d3 100644 --- a/middlewareConfig/rollup.config.js +++ b/middlewareConfig/rollup.config.js @@ -19,5 +19,9 @@ export default { format: 'esm' } ], - external: ['jwt-decode', '@kinde-oss/kinde-typescript-sdk', 'next/server'] + external: [ + '@kinde-oss/kinde-typescript-sdk', + 'next/server', + '@kinde/jwt-decoder' + ] }; diff --git a/serverConfig/rollup.config.js b/serverConfig/rollup.config.js index 3ad18f7c..0c2d2a9e 100644 --- a/serverConfig/rollup.config.js +++ b/serverConfig/rollup.config.js @@ -24,7 +24,7 @@ export default { 'next/navigation', 'next/headers', 'react', - 'jwt-decode', - '@kinde-oss/kinde-typescript-sdk' + '@kinde-oss/kinde-typescript-sdk', + '@kinde/jwt-decoder' ] };