📦 sdk: fix nextjs package

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-03-13 20:10:28 +01:00
parent 84a734dd9b
commit f276deeeeb
4 changed files with 39 additions and 20 deletions

View File

@@ -5,5 +5,5 @@ import config from '@openpanel/tsconfig/tsup.config.json' assert { type: 'json'
export default defineConfig({
...(config as any),
entry: ['index.tsx'],
format: ['cjs', 'esm'],
external: ['react', 'next'],
});