Skip to content

Commit 77c9c37

Browse files
committed
touch up
1 parent dc1f0db commit 77c9c37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default defineConfig(
2424
const contents = text
2525
.replace(/if \(!gl[^}]*}/gm, "")
2626
.replace(/;\s*if \(![^;]*;/gm, "!;")
27-
.replace(/`[^`]*`/gm, match => match.replace(/\s+/g, " "))
27+
.replace(/`[^`]*`/gm, match => match.replace(/\s+/g, " ").trim())
2828
.trim();
2929
return { contents, loader: "ts" };
3030
});

0 commit comments

Comments
 (0)