Navigation Menu

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

misc(cli): refactor functions into utils and config dirs, merge yargs… #781

Merged
merged 2 commits into from Mar 19, 2019

Conversation

anshumanv
Copy link
Member

… options

Moved filed to respective config or utils dir, cleaned up cli.js and removed yargs options and
merged in a single file

ISSUES CLOSED: #770

What kind of change does this PR introduce?
Refactoring of functions to their own directories, merged yargs options and hence cleaned up cli.js

Did you add tests for your changes?
Yes
image

If relevant, did you update the documentation?
Auto-deployment of docs is underway #774 will be done soon.

Summary

  • Code looks more cleaner
  • yargs options merged in a single file
  • More cleaner cli.js

Does this PR introduce a breaking change?
I didn't encounter while testing any.

Other information
Please suggest if this code structure looks appropriate.

… options

Moved filed to respective config or utils dir, cleaned up cli.js and removed yargs options and
merged in a single file

ISSUES CLOSED: webpack#770
@webpack-bot
Copy link

Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon.

@anshumanv
Copy link
Member Author

@evenstensberg fixed conflicts. 😄

Copy link
Member

@evenstensberg evenstensberg left a comment

Choose a reason for hiding this comment

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

lgtm, nice

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

Successfully merging this pull request may close these issues.

Refactor: Move yargs options into it's own config/util file
4 participants