Skip to content

Commit

Permalink
touch up
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank1513 committed Jun 26, 2024
1 parent d4946ae commit 75a74bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default defineConfig(
const contents = text
.replace(/if \(!gl[^}]*}/gm, "")
.replace(/;\s*if \(![^;]*;/gm, "!;")
.replace(/`[^`]*`/gm, match => match.replace(/\s+/g, " "))
.replace(/`[^`]*`/gm, match => match.replace(/\s+/g, " ").trim())
.trim();
return { contents, loader: "ts" };
});
Expand Down

0 comments on commit 75a74bf

Please sign in to comment.