-
-
Notifications
You must be signed in to change notification settings - Fork 265
Closed
Labels
Description
This is my tsup config:
"tsup": {
"splitting": false,
"sourcemap": true,
"clean": true,
"dts": true,
"format": [
"esm",
"cjs"
],
"entryPoints": [
"src/index.ts",
"src/cli/index.ts"
]
},When I run build, the file dist/index.d.ts only has #!/usr/bin/env node as contents (even though this is not the CLI declaration file), nothing else. There is no file dist/cli/index.d.ts. If I run it with only a single entrypoint: src/index.ts, the dist/index.d.ts file is generated properly to correspond to src/index.ts.
gustavopch, cyberalien, atreya2011, sadeghbarati and ugnelis