js_jsx-runtime.js?v=848ce2cb' does not provide an export named 'Fragment'
I built a component lib and bundling it with tsdown, this is my config.
My tsconfig :
Am i missing anything?
My tsconfig :
Am i missing anything?

import { defineConfig } from "tsdown";
export default defineConfig({
entry: {
index: "index.ts",
preset: "../../packages/preset/index.ts",
},
format: ["esm"],
dts: true,
minify: true,
clean: true,
external: ["solid-js", "unocss"],
});{
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "Node",
"jsx": "preserve",
"jsxImportSource": "solid-js",
"strict": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true,
"paths": {
"types/*": ["../types/*"]
}
},
"include": ["src", "global.d.ts"]
}