Skip to content

Add a .npmignore file to prevent useless stuff from getting in the npm distro #1849

Closed
@balupton

Description

@balupton

Things like the tests, docs, examples, etc are not required for the npm distribution, and thus only add to the weight of the module without any use. It would be nice if these were included in a .npmignore file - see https://npmjs.org/doc/developers.html#Keeping-files-out-of-your-package

In fact, for backbone the only useful files are the license, readme, package.json and backbone.js - all the rest can be added to the .npmignore file.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions