mirror of
https://github.com/gnmyt/LicenseAPI.git
synced 2026-01-11 02:31:46 +00:00
Create javascript tsup.config.ts
This commit is contained in:
12
integrations/javascript/tsup.config.ts
Normal file
12
integrations/javascript/tsup.config.ts
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
import { defineConfig } from "tsup";
|
||||||
|
|
||||||
|
export default defineConfig({
|
||||||
|
entry: ["./src/index.ts"],
|
||||||
|
format: ["cjs", "esm"],
|
||||||
|
dts: true,
|
||||||
|
splitting: false,
|
||||||
|
sourcemap: true,
|
||||||
|
clean: true,
|
||||||
|
minify: true,
|
||||||
|
external: ["node-fetch"]
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user