19 lines
296 B
TypeScript
19 lines
296 B
TypeScript
import { defineConfig } from "tsdown";
|
|
|
|
export default defineConfig({
|
|
entry: {
|
|
"bin/cli": "src/cli.ts",
|
|
"lib/index": "src/index.ts",
|
|
},
|
|
copy: ["haxetool.schema.json"],
|
|
dts: {
|
|
tsgo: true,
|
|
},
|
|
exports: {
|
|
bin: {
|
|
hxt: "src/cli.ts",
|
|
},
|
|
},
|
|
sourcemap: true,
|
|
});
|