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

Can update webpack-chain to 5.x ?I need some new feature #3478

Closed
mkanako opened this issue Feb 20, 2019 · 7 comments
Closed

Can update webpack-chain to 5.x ?I need some new feature #3478

mkanako opened this issue Feb 20, 2019 · 7 comments

Comments

@mkanako
Copy link

mkanako commented Feb 20, 2019

What problem does this feature solve?

use the new feature of webpack-chain 5.x

What does the proposed API look like?

same as before

@LinusBorg
Copy link
Member

LinusBorg commented Feb 20, 2019

We can't right now as it's a major version with breaking changes.

You could however use the resolutions field in package.json (requires yarn) to overwrite the dependency for vue-cli-service and see if it works for your usecase.

Out of interest: what's the feature you need?

@mkanako
Copy link
Author

mkanako commented Feb 20, 2019

Thank you,but unfortunately I use npm.
Now I avoid use the new feature of webpack-chain 5.x in other ways.

v5.1.0
Allow use of before() and after() with oneOf rules #133

I need this

@AlbertBrand
Copy link
Contributor

I can confirm that upgrading to the current version of webpack-chain doesn't break the current cli-service. However it could be that projects in the community use specific 4.x functionality that breaks by upgrading this dep. But is that a blocker?

@AlbertBrand
Copy link
Contributor

This seems to be the only breaking change: neutrinojs/webpack-chain#84

@LinusBorg
Copy link
Member

Yes it is. We expose webpack-chain's aPI as part of our public API. And as updating webpack-chain could break configs that users of Vue CLI have implemented, it's a breaking change.

@AlbertBrand
Copy link
Contributor

OK, so to follow that train of thought, you could update the dependency but cli-service would then need to be bumped major as well, right?

@LinusBorg
Copy link
Member

Right

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

No branches or pull requests

4 participants