mirror of
https://github.com/acamarata/qibla.git
synced 2026-06-30 19:04:28 +00:00
- Add .wiki/ with Home, API-Reference, and Architecture pages - Add wiki-sync.yml workflow - Fix README: badge and install command now use @acamarata/qibla scope - Add Architecture and Documentation sections to README - Add README.md, CHANGELOG.md, LICENSE to files field - Update pack-check CI to verify README, CHANGELOG, LICENSE in tarball - Fix exports.import.types to ./dist/index.d.mts (matches tsup output) - Enable sourcemap: true in tsup config
16 lines
342 B
TypeScript
16 lines
342 B
TypeScript
import { defineConfig } from "tsup";
|
|
|
|
export default defineConfig({
|
|
entry: ["src/index.ts"],
|
|
format: ["cjs", "esm"],
|
|
dts: true,
|
|
clean: true,
|
|
outDir: "dist",
|
|
splitting: false,
|
|
sourcemap: true,
|
|
target: "es2020",
|
|
platform: "neutral",
|
|
outExtension({ format }) {
|
|
return { js: format === "cjs" ? ".cjs" : ".mjs" };
|
|
},
|
|
});
|