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

Support for the new webpack v4 plugin architecture. #1275

Merged
merged 1 commit into from
Feb 5, 2018

Conversation

jeffposnick
Copy link
Contributor

R: @addyosmani @gauntface
CC: @goldhand @TheLarkInn

Fixes #1151

I'd like to get this out there in the next release to at least ensure that folks who are early adopters of webpack v4 get a chance to try it out in real-world scenarios. It's a small change that should be backwards compatible with users still on webpack v3.

This has been a bit hard to test manually, since most of our webpack integration tests rely on other plugins that aren't yet webpack v4 compatible. I did some manual tests of basic compilations using the latest webpack v4 beta, and it seemed to work, though.

I'm also not sure how we could update our tests to work with both webpack v3 and v4, along with the corresponding versions of plugins that are compatible with each. The strategy moving forward might be just to keep our tests against webpack v3 for now, and migrate to testing against webpack v4 once that is fully released and gets some traction.

@gauntface
Copy link

@jeff could you have tests that have a package.json file, run npm install and then run our plugins against a webpack config? Just as a smoke test would be helpful.

@jeffposnick
Copy link
Contributor Author

Coming up with a reasonable way to test across webpack v3 and v4 is tracked in #1281.

Given that it would be nice to make this available to folks currently trying out webpack v4 sooner rather than later, I'm going to merge and we can follow-up there.

@jeffposnick jeffposnick merged commit dbef00b into v3 Feb 5, 2018
@jeffposnick jeffposnick deleted the webpack-v4-plugin-compat branch February 5, 2018 18:25
@TheLarkInn
Copy link

TheLarkInn commented Feb 5, 2018 via email

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