From e686968eaa7c6928ef023f9aa22cd08947ccb67c Mon Sep 17 00:00:00 2001 From: Peter Phanouvong Date: Thu, 16 Nov 2023 16:56:07 +1100 Subject: [PATCH] rollup trying to get pages router working --- rollup.config.js | 14 ++------------ src/utils/version.js | 2 +- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index 4a04021..3085fe0 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -30,7 +30,7 @@ export default [ ] }, { - plugins: [babel({babelHelpers: 'bundled'}), terser(), nodeResolve()], + plugins: [babel({babelHelpers: 'bundled'}), terser()], input: 'src/server/index.js', output: [ { @@ -45,15 +45,6 @@ export default [ sourcemap: true, exports: 'named' } - ], - external: [ - 'react', - 'jwt-decode', - '@kinde-oss/kinde-typescript-sdk', - 'next/server', - 'next/navigation', - 'next/headers', - 'cookie' ] }, { @@ -91,8 +82,7 @@ export default [ sourcemap: true, exports: 'named' } - ], - external: ['next/server', 'jwt-decode', '@kinde-oss/kinde-typescript-sdk'] + ] }, { input: './types.d.ts', diff --git a/src/utils/version.js b/src/utils/version.js index f9511d2..9a454d1 100644 --- a/src/utils/version.js +++ b/src/utils/version.js @@ -1,2 +1,2 @@ // Generated by genversion. -export const version = '2.0.8-beta.3' +export const version = '2.0.8-beta.4'