When the tsup config ts is declared as follows,I don't know if it's due to my configuration
import { defineConfig } from "tsup";
export default defineConfig([
{
entry: ["src/*.ts"],
clean: true,
outDir: "dist",
target: "esnext",
format: ["cjs", "esm"],
dts: true,
shims: true,
},
{
entry: ["src/api/*"], // this will makes same error,occasionally
clean: true,
dts: true,
target: "esnext",
outDir: "dist/api",
format: ["cjs", "esm"],
platform: "browser",
shims: true,
},
]);
this is production directory:
When I build using tsup, sometimes I get errors like this
unfortunately, I can't provide a use case as this is happening occasionally. but it did happen
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too