mirror of
https://github.com/hanzoai/commerce.git
synced 2026-10-30 15:08:42 +00:00
Multi-tenant commerce and billing: orders, subscriptions, invoices, plans, usage metering and a credit ledger. One Go binary. MIT OR Apache-2.0. Claude-Session: https://claude.ai/code/session_01SAtaDFm8VDiWrhYHNNtxMw
15 lines
522 B
TypeScript
15 lines
522 B
TypeScript
import { defineConfig } from "tsup"
|
|
import path from "path"
|
|
|
|
export default defineConfig({
|
|
entry: ["src/index.ts"],
|
|
format: ["cjs", "esm"],
|
|
tsconfig: path.resolve(__dirname, "tsconfig.json"),
|
|
// A Tailwind preset is a plain JS config object consumed via `require()` in
|
|
// tailwind.config.js — it has no TS consumers, so no .d.ts is needed. Emitting
|
|
// one only breaks the build (the CJS `module.exports = preset` source needs
|
|
// @types/node in the dts type-check). Skip it.
|
|
dts: false,
|
|
clean: true,
|
|
})
|