From 4cbe11bfe6f205aa848698c675580f9365a5af1b Mon Sep 17 00:00:00 2001 From: Bryan Thomas <49354825+bryanjtc@users.noreply.github.com> Date: Mon, 2 Jan 2023 13:26:04 -0500 Subject: [PATCH] Only output cjs --- tsup.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsup.config.ts b/tsup.config.ts index 1544e8bb..64c37090 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -4,7 +4,7 @@ export default defineConfig([ { clean: true, entry: ['./src/**/!(*.{d,test}).{js,jsx,ts,tsx}'], - format: ['cjs', 'esm'], + format: ['cjs'], dts: true, esbuildOptions(options, context) { options.platform = 'node';