Add initial JS setup
This commit is contained in:
16
tsup.config.ts
Normal file
16
tsup.config.ts
Normal file
@ -0,0 +1,16 @@
|
||||
import { name } from "./package.json";
|
||||
import { defineConfig } from "tsup";
|
||||
|
||||
export default defineConfig({
|
||||
name,
|
||||
entry: ["src/index.ts"],
|
||||
format: ["esm"],
|
||||
target: "node20",
|
||||
bundle: true,
|
||||
splitting: false,
|
||||
sourcemap: true,
|
||||
clean: true,
|
||||
dts: {
|
||||
resolve: true,
|
||||
},
|
||||
});
|
Reference in New Issue
Block a user