Skip to content

Commit

Permalink
fix(build): keep names cause crash on Expo 52
Browse files Browse the repository at this point in the history
  • Loading branch information
raphckrman committed Nov 14, 2024
1 parent 21ed94c commit 4f1c3ac
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
});
dts: true
});

0 comments on commit 4f1c3ac

Please sign in to comment.