Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(package): add files property #132

Closed
wants to merge 1 commit into from

Conversation

zkochan
Copy link
Contributor

@zkochan zkochan commented Jul 26, 2017

publishing only files which are needed in prod

publishing only files which are needed in prod
Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Absolutely not. All files are needed on npm, because npm explore foo && npm install && npm test should always work.

Separately, the "files" property is extremely dangerous and should never be used; use an .npmignore if you want to restrict what gets published.

@ljharb ljharb closed this Jul 26, 2017
@ljharb
Copy link
Member

ljharb commented Jul 26, 2017

This is also a duplicate of #128.

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

Successfully merging this pull request may close these issues.

2 participants