Skip to content

Fix for Build Issue with Webpack #20

Description

@vivek-tamilarasan

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch zlib@1.0.5 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions