diff --git a/insider.json b/insider.json index 31d16be..ff9af55 100644 --- a/insider.json +++ b/insider.json @@ -1,4 +1,4 @@ { - "tag": "1.75.0", - "commit": "e2816fe719a4026ffa1ee0189dc89bdfdbafb164" + "tag": "1.77.0", + "commit": "155cd6db223feb1f8c734ca70e108b9efec7b054" } diff --git a/patches/remove-mangle.patch b/patches/remove-mangle.patch index 89157e8..31606ca 100644 --- a/patches/remove-mangle.patch +++ b/patches/remove-mangle.patch @@ -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 = (ts).normalizePath(data.path);