We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc1f0db commit 77c9c37Copy full SHA for 77c9c37
lib/tsup.config.ts
@@ -24,7 +24,7 @@ export default defineConfig(
24
const contents = text
25
.replace(/if \(!gl[^}]*}/gm, "")
26
.replace(/;\s*if \(![^;]*;/gm, "!;")
27
- .replace(/`[^`]*`/gm, match => match.replace(/\s+/g, " "))
+ .replace(/`[^`]*`/gm, match => match.replace(/\s+/g, " ").trim())
28
.trim();
29
return { contents, loader: "ts" };
30
});
0 commit comments