From 4f1c3acf747237ed1f50a5748502e7f2fe94d1d0 Mon Sep 17 00:00:00 2001 From: raphckrman <41128238+raphckrman@users.noreply.github.com> Date: Thu, 14 Nov 2024 22:06:26 +0100 Subject: [PATCH] fix(build): keep names cause crash on Expo 52 --- tsup.config.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/tsup.config.ts b/tsup.config.ts index cef49aa..98a9d9a 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -2,18 +2,12 @@ import { defineConfig } from "tsup"; export default defineConfig({ entry: ["src/index.ts"], - outDir: "dist", format: ["cjs", "esm"], - treeshake: true, splitting: false, - sourcemap: true, minify: "terser", clean: true, - dts: true, - esbuildOptions(options) { - options.keepNames = true; - } -}); \ No newline at end of file + dts: true +});