Skip to content

yarnlock file in npm distribution #27

Open

Description

@willnode

When cleaning node_modules, I found your module contains 125 KB of yarn.lock file.

Proof:

yarn

Suggest to add that to .npmignore?

Activity

  1. added a commit that references this issue on Aug 31, 2018
    2fdf43b
  2. mojoaxel commented on Oct 30, 2025

    @mojoaxel

    There is an easy way to get rid of this problematic file.
    Just use a npm post script. Add this in the package.json of your project:

      "postinstall": "rm -f node_modules/browserify-zlib/yarn.lock",
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions