Skip to content

Commit 5b22213

Browse files
authored
Add extra argument to Mangler (microsoft#184986)
Missed updating this
1 parent debcf16 commit 5b22213

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/mangle-loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function getMangledFileContents(projectPath) {
2525
if (!entry) {
2626
const log = (...data) => fancyLog(ansiColors.blue('[mangler]'), ...data);
2727
log(`Mangling ${projectPath}`);
28-
const ts2tsMangler = new Mangler(projectPath, log);
28+
const ts2tsMangler = new Mangler(projectPath, log, { mangleExports: true, manglePrivateFields: true });
2929
entry = ts2tsMangler.computeNewFileContents();
3030
mangleMap.set(projectPath, entry);
3131
}

0 commit comments

Comments
 (0)