Skip to content

Refactors config validation, deprecation and unification logic. - #1805

Merged
lukastaegert merged 10 commits into
rollup:masterfrom
ankeetmaini:onwarn-args
Dec 22, 2017
Merged

Refactors config validation, deprecation and unification logic.#1805
lukastaegert merged 10 commits into
rollup:masterfrom
ankeetmaini:onwarn-args

Conversation

@ankeetmaini

Copy link
Copy Markdown
Contributor

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

@ankeetmaini

Copy link
Copy Markdown
Contributor Author

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

@guybedford

Copy link
Copy Markdown
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

ankeetmaini commented Dec 22, 2017

Copy link
Copy Markdown
Contributor Author

@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.

3 participants