Open Tzyito opened 1 year ago
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
Hey, I encountered that issue after trying to factorize my monorepo tsup config, turns out it was due to wrongly resolved tsconfigs (see this commit for the fix)
tsconfig
describe
When the tsup config ts is declared as follows,I don't know if it's due to my configuration
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
Upvote & Fund