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 7e58b70 commit 15017f1Copy full SHA for 15017f1
lib/tsup.config.ts
@@ -24,6 +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, " "))
28
.trim();
29
return { contents, loader: "ts" };
30
});
0 commit comments