Clear and concise description of the problem
tsup can disable code splitting by the following config:
import { defineConfig } from "tsup";
export default defineConfig({
entry: ["./src"],
format: "esm",
splitting: false, // !!!!!! HERE !!!!!
dts: true,
target: "es2021",
});
However, tsdown doesn't have such a splitting property.
Disabling code splitting improves readability and analyzability of output JS code.
tsup's doc: https://tsup.egoist.dev/#code-splitting
Suggested solution
Support splitting property
Alternative
Use tsup instead of tsdown. tsup has already been able to disable splitting.
Additional context
I tried tsdown in my packages in https://github.com/tats-u/markdown-cjk-friendly/, but gave up due to the lack of this feature.
Validations
Clear and concise description of the problem
tsup can disable code splitting by the following config:
However, tsdown doesn't have such a
splittingproperty.Disabling code splitting improves readability and analyzability of output JS code.
tsup's doc: https://tsup.egoist.dev/#code-splitting
Suggested solution
Support
splittingpropertyAlternative
Use tsup instead of tsdown. tsup has already been able to disable splitting.
Additional context
I tried tsdown in my packages in https://github.com/tats-u/markdown-cjk-friendly/, but gave up due to the lack of this feature.
Validations