DEPRECATED-node-zlib
DEPRECATED-node-zlib copied to clipboard
Fix for Build Issue with Webpack
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch [email protected] for the project I'm working on.
Here is the diff that solved my problem:
diff --git a/node_modules/zlib/lib/zlib.js b/node_modules/zlib/lib/zlib.js
index bc49811..3979e92 100644
--- a/node_modules/zlib/lib/zlib.js
+++ b/node_modules/zlib/lib/zlib.js
@@ -1 +1 @@
-module.exports = require('./zlib_bindings');
+module.exports = require('zlib');
This issue body was partially generated by patch-package.