Skip to content

Commit 704fef5

Browse files
committed
enable toplevel mangling
1 parent 414daee commit 704fef5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

repo-scripts/size-analysis/analysis-helper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export async function extractDependenciesAndSize(
145145
output: {
146146
comments: false
147147
},
148-
mangle: true,
148+
mangle: { toplevel: true },
149149
compress: false
150150
}
151151
);
@@ -155,7 +155,7 @@ export async function extractDependenciesAndSize(
155155
output: {
156156
comments: false
157157
},
158-
mangle: true,
158+
mangle: { toplevel: true },
159159
compress: false
160160
}
161161
);

0 commit comments

Comments
 (0)