fix-mangle-windows.patch 509 B

123456789
  1. diff --git a/build/lib/compilation.ts b/build/lib/compilation.ts
  2. index 2cc04d2c977..9029c6231ed 100644
  3. --- a/build/lib/compilation.ts
  4. +++ b/build/lib/compilation.ts
  5. @@ -128,3 +128,3 @@ export function compileTask(src: string, out: string, build: boolean): () => Nod
  6. mangleStream = es.through(function write(data: File) {
  7. - const newContents = newContentsByFileName.get(data.path);
  8. + const newContents = newContentsByFileName.get(data.path.replace(/\\/g, '/'));
  9. if (newContents !== undefined) {