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

Feat: Use webpack-chain? #16

Closed
IniZio opened this issue Sep 1, 2018 · 2 comments
Closed

Feat: Use webpack-chain? #16

IniZio opened this issue Sep 1, 2018 · 2 comments

Comments

@IniZio
Copy link

IniZio commented Sep 1, 2018

Currently the presets use direct assign, I think adding webpack-chain might make it even more reliable?

@lukeed
Copy link
Owner

lukeed commented Sep 1, 2018

Maybe! I've heard of it a few times but never really looked into it. I know Vue CLI uses it, probably for this purpose.

The thing is I think I need my own abstraction layer. I'm not sure when, but I'd like to make it possible to build apps of similar caliber with Rollup behind the scenes. This was an original (2016) goal and is still something I'd like to stick to.

Whether that is a hard swap or lives behind a feature flag, the config should still work for both engines.

This is all probably a long ways off, but in the meantime, presets are always applied first in the config-pipeline. And they're also controlled releases, so they'll always work.

The risk stands with the end-user's custom config. Presumably any changes they make are somewhat educated, otherwise there will be instant feedback via webpack errors

Lastly, community-driven plugins and presets aren't a thing yet. I'd like to control the package composition for a little while...at least until I figure out what I'm gonna do about that abstraction layer for config^

Thanks!

@IniZio
Copy link
Author

IniZio commented Sep 1, 2018

Thanks for the response, this is definitely the tool i will use on next project :). Guess I will close this for now.

@IniZio IniZio closed this as completed Sep 1, 2018
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

No branches or pull requests

2 participants