Skip to content

Commit

Permalink
fix(build): remove redundant code in final generated build
Browse files Browse the repository at this point in the history
  • Loading branch information
elmouradiaminedev committed Feb 12, 2024
1 parent a219a5f commit 114ec12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { defineConfig } from "tsup";
export default defineConfig({
name: "diagonjs",
target: "esnext",
entry: ["src"],
splitting: process.env.NODE_ENV === "production",
minify: process.env.NODE_ENV === "production",
entry: ["src/index.ts"],
splitting: false,
minify: true,
dts: {
resolve: true,
entry: "./src/index.ts",
Expand Down

0 comments on commit 114ec12

Please sign in to comment.