Skip to content

Commit 84b92ad

Browse files
wip(speed): add comments:false to disable comments in output
1 parent 33d26cb commit 84b92ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ export async function transformJSCode(source : string, moduleSourceType : boolea
246246
configFile: false,
247247
highlightCode: false,
248248
compact: true, // doc: All optional newlines and whitespace will be omitted when generating code in compact mode.
249+
comments: false,
249250
});
250251

251252
return [ depsList, transformedScript.code ];

0 commit comments

Comments
 (0)