26 lines
510 B
TypeScript
26 lines
510 B
TypeScript
import { defineConfig } from "tsup";
|
|
|
|
export default defineConfig({
|
|
entry: {
|
|
"core/index": "src/core/index.ts",
|
|
"react/index": "src/react/index.tsx",
|
|
"angular/index": "src/angular/index.ts",
|
|
},
|
|
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",
|
|
],
|
|
});
|