about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/compilers/typescript/disable-dprint-dstBundler.patch
blob: 95ccf411a93e304ad8099563dded442a0ba1531f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Disable dprint on dstBundler

dprint fails on sandbox, because it requires internet access to install its
plugins.

--- a/scripts/dtsBundler.mjs
+++ b/scripts/dtsBundler.mjs
@@ -430,5 +430,5 @@
     return result.replace(/\r\n/g, "\n");
 }
 
-fs.writeFileSync(output, dprint(publicContents));
-fs.writeFileSync(internalOutput, dprint(internalContents));
+fs.writeFileSync(output, publicContents);
+fs.writeFileSync(internalOutput, internalContents);