DEPRECATED-node-zlib icon indicating copy to clipboard operation
DEPRECATED-node-zlib copied to clipboard

Fix for Build Issue with Webpack

Open vivek-tamilarasan opened this issue 2 years ago • 0 comments

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.

vivek-tamilarasan avatar Dec 21 '23 05:12 vivek-tamilarasan