This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
helloWorld: | |
image: hello-world:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import esbuild from "esbuild"; | |
/** | |
* @type {import("esbuild").Plugin} | |
*/ | |
const nativeNodeModulesPlugin = { | |
name: "native-node-modules", | |
setup(build) { | |
// If a ".node" file is imported within a module in the "file" namespace, resolve | |
// it to an absolute path and put it into the "node-file" virtual namespace. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b'--- locals/bad/[Content_Types].xml | |
+++ locals/good/[Content_Types].xml | |
@@ -1,7 +1,15 @@ | |
<?xml version=\'1.0\' encoding=\'UTF-8\' standalone=\'yes\'?> | |
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"> | |
+ <Default Extension="bmp" ContentType="image/bmp"/> | |
+ <Default Extension="gif" ContentType="image/gif"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- locals/bad/[Content_Types].xml | |
+++ locals/good/[Content_Types].xml | |
@@ -1,12 +1,22 @@ | |
<?xml version=\'1.0\' encoding=\'UTF-8\' standalone=\'yes\'?> | |
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"> | |
- <Default Extension="jpg" ContentType="image/jpeg"/> | |
+ <Default Extension="bmp" ContentType="image/bmp"/> |