@manovaspace/build
Shared tsup baselines so every @manovaspace/* library builds the same way.
Install
Section titled “Install”pnpm add -D @manovaspace/build tsupHelpers
Section titled “Helpers”| Export | Use when |
|---|---|
defineLibraryConfig |
Plain ESM libraries (dts, sourcemap, treeshake) |
defineReactLibraryConfig |
React libraries (React marked external) |
defineUnbundledConfig |
Component libraries that keep per-file output (bundle: false) |
Example
Section titled “Example”import { defineReactLibraryConfig } from "@manovaspace/build";
export default defineReactLibraryConfig({ entry: ["src/index.ts"], external: ["react-markdown"],});Token CSS / font copy steps stay in package scripts — not in this package.
License
Section titled “License”MIT