Skip to content

Commit 165794b

Browse files
committed
chore: disable sourcemap and legal comments
1 parent 1f69f1b commit 165794b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/helpers.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ export async function transform({
1313
}: Transform): Promise<string> {
1414
const { code } = await transformWithEsbuild(file, name, {
1515
loader,
16-
minify: true
16+
minify: true,
17+
sourcemap: false,
18+
legalComments: 'none'
1719
})
1820

1921
return code

0 commit comments

Comments
 (0)