Add initial JS setup

This commit is contained in:
Luc Perkins 2024-04-21 19:17:03 -03:00
parent cc5f064749
commit cf6776dfd1
No known key found for this signature in database
GPG key ID: 16DB1108FB591835
15 changed files with 4046 additions and 39 deletions

16
tsup.config.ts Normal file
View 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,
},
});