mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-24 03:50:13 +10:00
fix: update mangle patch
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
diff --git a/build/lib/compilation.js b/build/lib/compilation.js
|
diff --git a/build/lib/compilation.js b/build/lib/compilation.js
|
||||||
index f26b7ac..15d930c 100644
|
index d101f6e..cf50b50 100644
|
||||||
--- a/build/lib/compilation.js
|
--- a/build/lib/compilation.js
|
||||||
+++ b/build/lib/compilation.js
|
+++ b/build/lib/compilation.js
|
||||||
@@ -109,3 +109,3 @@ function compileTask(src, out, build) {
|
@@ -109,3 +109,3 @@ function compileTask(src, out, build) {
|
||||||
@@ -8,11 +8,11 @@ index f26b7ac..15d930c 100644
|
|||||||
+ const newContents = newContentsByFileName.get(data.path.replace(/\\/g, '/'));
|
+ const newContents = newContentsByFileName.get(data.path.replace(/\\/g, '/'));
|
||||||
if (newContents !== undefined) {
|
if (newContents !== undefined) {
|
||||||
diff --git a/build/lib/compilation.ts b/build/lib/compilation.ts
|
diff --git a/build/lib/compilation.ts b/build/lib/compilation.ts
|
||||||
index 2cc04d2..9029c62 100644
|
index 54fa32d..4c8fd1c 100644
|
||||||
--- a/build/lib/compilation.ts
|
--- a/build/lib/compilation.ts
|
||||||
+++ b/build/lib/compilation.ts
|
+++ b/build/lib/compilation.ts
|
||||||
@@ -128,3 +128,3 @@ export function compileTask(src: string, out: string, build: boolean): () => Nod
|
@@ -129,3 +129,3 @@ export function compileTask(src: string, out: string, build: boolean): () => Nod
|
||||||
mangleStream = es.through(function write(data: File) {
|
mangleStream = es.through(function write(data: File & { sourceMap?: RawSourceMap }) {
|
||||||
- const newContents = newContentsByFileName.get(data.path);
|
- const newContents = newContentsByFileName.get(data.path);
|
||||||
+ const newContents = newContentsByFileName.get(data.path.replace(/\\/g, '/'));
|
+ const newContents = newContentsByFileName.get(data.path.replace(/\\/g, '/'));
|
||||||
if (newContents !== undefined) {
|
if (newContents !== undefined) {
|
||||||
|
|||||||
Reference in New Issue
Block a user