Skip to content

refactor(es6): refactor IgnorePlugin to ES6 class #3638

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

Merged
merged 1 commit into from
Dec 30, 2016

Conversation

aem
Copy link
Contributor

@aem aem commented Dec 29, 2016

What kind of change does this PR introduce?
Refactor (ES5 => ES6)

Did you add tests for your changes?
No functionality was changed, existing tests passed

If relevant, link to documentation update:
N/A

Summary
Refactors the IgnorePlugin to an ES6 class. Never contributed before, trying to get into the webpack codebase and understand it a bit more so this seemed like a good place to start. Let me know if I missed anything!

Does this PR introduce a breaking change?
Nope

@aem
Copy link
Contributor Author

aem commented Dec 29, 2016

One question on this, I converted all functions to arrow functions. Is this preferred or for unbound, unnamed functions should we be sticking with old function notation? I know this is something that will be determined once the es2015 style guide gets finalized

@mohsen1
Copy link
Contributor

mohsen1 commented Dec 30, 2016

Changes like this is much easier to review with w=1 in GitHub URL query parameter.

LGTM if that matters! :D

@TheLarkInn TheLarkInn merged commit 5f6029f into webpack:master Dec 30, 2016
@TheLarkInn
Copy link
Member

Thank you very much!

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

Successfully merging this pull request may close these issues.

3 participants