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

Install only dist folders ? #5079

Closed
UtechtDustin opened this issue Dec 12, 2017 · 2 comments
Closed

Install only dist folders ? #5079

UtechtDustin opened this issue Dec 12, 2017 · 2 comments
Assignees
Labels

Comments

@UtechtDustin
Copy link

Its possible to install only the dist folders ?
Because i dont need the src etc on production.

@ghost ghost assigned arcanis Dec 12, 2017
@ghost ghost added the triaged label Dec 12, 2017
@digigarlab
Copy link

It's not possible AFAIK, since some packages don't follow the convention of having a dist/ folder.

If you really need to reduce the size of packages in production, you can use yarn autoclean (and to run yarn --prod to skip devDependencies)

@rally25rs
Copy link
Contributor

If this is for local packages, then there is an open issue already: #2822
If this is for remote packages, then no, but you can use autoclean to manually attempt to clean up files that you don't need.

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

No branches or pull requests

4 participants