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

Refactors config validation, deprecation and unification logic. #1805

Merged
merged 10 commits into from
Dec 22, 2017

Conversation

ankeetmaini
Copy link
Contributor

This was originally raised for #1762. This builds on top of #1769

@ankeetmaini
Copy link
Contributor Author

@lukastaegert I think I've solved it this time. Hahaha!

@guybedford
Copy link
Contributor

This work looks great. We've been working on a TypeScript conversion in #1806, which has seen some inconsistencies in supporting the highly dynamic options interfaces. I wonder if this would simplify that or make it harder...

@ankeetmaini
Copy link
Contributor Author

ankeetmaini commented Dec 22, 2017

@guybedford To solve the inconsistencies among the CLI and node I've created base input/output options in the file mergeOptions.js which is now the central place for all options related logic. All entry points now fallback to it. I hope this will make it simpler!

@lukastaegert lukastaegert merged commit afd30df into rollup:master Dec 22, 2017
@lukastaegert lukastaegert added this to the 0.53.0 milestone Dec 22, 2017
@ankeetmaini ankeetmaini deleted the onwarn-args branch December 26, 2017 06:57
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.

None yet

3 participants