fix: update patch

This commit is contained in:
Baptiste Augrain 2023-03-02 23:40:15 +01:00
parent 41b949f19e
commit 3d745a9a37
2 changed files with 6 additions and 6 deletions

View file

@ -1,4 +1,4 @@
{
"tag": "1.75.0",
"commit": "e2816fe719a4026ffa1ee0189dc89bdfdbafb164"
"tag": "1.77.0",
"commit": "155cd6db223feb1f8c734ca70e108b9efec7b054"
}

View file

@ -1,5 +1,5 @@
diff --git a/build/lib/compilation.js b/build/lib/compilation.js
index 8449e98..72424b8 100644
index cfd735b..d5179ac 100644
--- a/build/lib/compilation.js
+++ b/build/lib/compilation.js
@@ -21,3 +21,2 @@ const File = require("vinyl");
@ -12,7 +12,7 @@ index 8449e98..72424b8 100644
- let mangleStream = es.through();
- if (build) {
- let ts2tsMangler = new mangleTypeScript_1.Mangler(compile.projectPath, (...data) => fancyLog(ansiColors.blue('[mangler]'), ...data));
- const newContentsByFileName = ts2tsMangler.computeNewFileContents();
- const newContentsByFileName = ts2tsMangler.computeNewFileContents(new Set(['saveState']));
- mangleStream = es.through(function write(data) {
- const tsNormalPath = ts.normalizePath(data.path);
- const newContents = newContentsByFileName.get(tsNormalPath);
@ -32,7 +32,7 @@ index 8449e98..72424b8 100644
- .pipe(mangleStream)
.pipe(generator.stream)
diff --git a/build/lib/compilation.ts b/build/lib/compilation.ts
index 8e2f7bf..27ea44c 100644
index 4f890b8..27ea44c 100644
--- a/build/lib/compilation.ts
+++ b/build/lib/compilation.ts
@@ -19,4 +19,2 @@ import * as File from 'vinyl';
@ -46,7 +46,7 @@ index 8e2f7bf..27ea44c 100644
- let mangleStream = es.through();
- if (build) {
- let ts2tsMangler = new Mangler(compile.projectPath, (...data) => fancyLog(ansiColors.blue('[mangler]'), ...data));
- const newContentsByFileName = ts2tsMangler.computeNewFileContents();
- const newContentsByFileName = ts2tsMangler.computeNewFileContents(new Set(['saveState']));
- mangleStream = es.through(function write(data: File & { sourceMap?: RawSourceMap }) {
- type TypeScriptExt = typeof ts & { normalizePath(path: string): string };
- const tsNormalPath = (<TypeScriptExt>ts).normalizePath(data.path);