Skip to content

Commit

Permalink
Disable minification in tsup configuration
Browse files Browse the repository at this point in the history
The minify option in the tsup configuration for several packages has been set to false. This decision has been reflected in the abstraxion, constants, abstraxion-core, signers, and ui packages. This change will help in improving the debugging process, as the code will no longer be compressed and obfuscated.
  • Loading branch information
justinbarry committed Jul 22, 2024
1 parent 6dcbc65 commit 2f1b791
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/abstraxion-core/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default defineConfig((options: Options) => ({
entry: ["src/index.ts"],
format: ["esm", "cjs"],
dts: true,
minify: true,
minify: false,
clean: true,
...options,
}));
2 changes: 1 addition & 1 deletion packages/abstraxion/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default defineConfig((options: Options) => ({
entry: ["src/index.ts"],
format: ["esm", "cjs"],
dts: true,
minify: true,
minify: false,
clean: true,
external: ["react"],
...options,
Expand Down
2 changes: 1 addition & 1 deletion packages/constants/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default defineConfig((options: Options) => ({
entry: ["src/index.ts"],
format: ["esm", "cjs"],
dts: true,
minify: true,
minify: false,
clean: true,
...options,
}));
2 changes: 1 addition & 1 deletion packages/signers/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default defineConfig((options: Options) => ({
entry: ["src/index.ts"],
format: ["esm", "cjs"],
dts: true,
minify: true,
minify: false,
clean: true,
...options,
}));
2 changes: 1 addition & 1 deletion packages/ui/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default defineConfig((options: Options) => ({
entry: ["src/**/*.tsx"],
format: ["esm", "cjs"],
dts: true,
minify: true,
minify: false,
clean: true,
external: ["react"],
...options,
Expand Down

0 comments on commit 2f1b791

Please sign in to comment.