aboutsummaryrefslogtreecommitdiff
path: root/src/node-fallbacks
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-01-22 15:34:21 -0800
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-01-22 15:34:21 -0800
commitbc7192dca1c9da8714f72be3848100e9d16a5425 (patch)
treef796747a76f7cd35c1bbcb48564a9607e9afcfa0 /src/node-fallbacks
parent188f472ed2956c94e41842d24ae1fb4fe58b953f (diff)
downloadbun-bc7192dca1c9da8714f72be3848100e9d16a5425.tar.gz
bun-bc7192dca1c9da8714f72be3848100e9d16a5425.tar.zst
bun-bc7192dca1c9da8714f72be3848100e9d16a5425.zip
Add extremely slow node:zlib polyfill
Diffstat (limited to 'src/node-fallbacks')
-rw-r--r--src/node-fallbacks/.gitignore1
-rw-r--r--src/node-fallbacks/package.json1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/node-fallbacks/.gitignore b/src/node-fallbacks/.gitignore
new file mode 100644
index 000000000..93fadd184
--- /dev/null
+++ b/src/node-fallbacks/.gitignore
@@ -0,0 +1 @@
+bun
diff --git a/src/node-fallbacks/package.json b/src/node-fallbacks/package.json
index 4f8d09498..66ff79c5b 100644
--- a/src/node-fallbacks/package.json
+++ b/src/node-fallbacks/package.json
@@ -5,6 +5,7 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
+ "build-gen": "esbuild --bundle *.js --outdir=bun --format=cjs --platform=browser --external:buffer --external:stream --external:util --external:util/ --external:assert",
"build": "esbuild --bundle *.js --outdir=out --format=cjs --minify --platform=browser"
},
"author": "",