Skip to content

chore: improve sample migration output#281

Merged
evenstensberg merged 1 commit into
webpack:masterfrom
dhruvdutt:patch-1
Feb 26, 2018
Merged

chore: improve sample migration output#281
evenstensberg merged 1 commit into
webpack:masterfrom
dhruvdutt:patch-1

Conversation

@dhruvdutt

@dhruvdutt dhruvdutt commented Feb 25, 2018

Copy link
Copy Markdown
Contributor
  • Improve migration output for sample webpack config.
  • Comparison variable parity

What kind of change does this PR introduce?
Enhancement

Summary
image

Actual output:
image

Does this PR introduce a breaking change?
No

@dhruvdutt dhruvdutt changed the title Update MIGRATE.md Improve sample migration output Feb 25, 2018
@evenstensberg

Copy link
Copy Markdown
Member

You need to change your commit format, change you rebase? It should be something like:

misc(migrate): prettify output

@dhruvdutt dhruvdutt force-pushed the patch-1 branch 2 times, most recently from 458d712 to 9b978f8 Compare February 25, 2018 14:17
@dhruvdutt

dhruvdutt commented Feb 25, 2018

Copy link
Copy Markdown
Contributor Author

@ev1stensberg rebased and updated commit messages. 👍

@webpack-bot

Copy link
Copy Markdown

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

Comment thread MIGRATE.md Outdated
In summary, we can see the follow changes were made
1. The webpack schema for using loaders has changed
- `loaders` is now `module.rules`
- `module.loaders` is now `module.rules`

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

In webpack v1 this was loaders, please remove this

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Cleaned the commit containing that change.

Comment thread MIGRATE.md
accept the changes or not:

```bash
```diff

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks nice

Comment thread MIGRATE.md
+ loader: 'babel-loader'
+ }],
+ options: {
- loader: ExtractTextPlugin.extract('style', 'css!sass')

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

indent here

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed. Updated the summary image as well. 💯

@webpack-bot

Copy link
Copy Markdown

@dhruvdutt Thanks for your update.

I labeled the Pull Request so reviewers will review it again.

@ev1stensberg Please review the new changes.

@evenstensberg evenstensberg merged commit ef7df35 into webpack:master Feb 26, 2018
@dhruvdutt dhruvdutt changed the title Improve sample migration output chore: improve sample migration output Feb 26, 2018
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.

4 participants