Files

26 lines
508 B
TypeScript

import { defineConfig } from "tsup";
export default defineConfig({
entry: {
"core/index": "src/core/index.ts",
"react/index": "src/react/index.tsx",
},
format: ["esm", "cjs"],
dts: true,
sourcemap: true,
clean: false,
target: "es2022",
minify: false,
treeshake: true,
splitting: false,
external: [
"react",
"react-dom",
"antd",
"@angular/core",
"@angular/common",
"@hublib-web/tach-typography/react",
"@hublib-web/tach-typography/angular",
],
});