import { defineConfig } from "tsdown"; export default defineConfig({ // Keyed entry so the output keeps its subpath (dist/footer/index.mjs), // matching the `./footer` subpath export declared in package.json — leaving // room for more blocks (./auth, ./page, …) without a breaking export move. entry: { "footer/index": "./src/footer/index.tsx" }, format: "esm", dts: true, });