Add extra argument to Mangler (#184986)

Missed updating this
This commit is contained in:
Matt Bierner 2023-06-13 00:03:51 -07:00 committed by GitHub
parent debcf16fcd
commit 5b2221330a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ function getMangledFileContents(projectPath) {
if (!entry) {
const log = (...data) => fancyLog(ansiColors.blue('[mangler]'), ...data);
log(`Mangling ${projectPath}`);
const ts2tsMangler = new Mangler(projectPath, log);
const ts2tsMangler = new Mangler(projectPath, log, { mangleExports: true, manglePrivateFields: true });
entry = ts2tsMangler.computeNewFileContents();
mangleMap.set(projectPath, entry);
}