Skip to content

Conversation

@adamwathan
Copy link
Member

Right now when trying to determine the important and prefix values in the config, we fall back using lodash to hardcoded defaults directly in the plugin code.

These fallbacks are unnecessary since the default options are merged with the user's options way earlier in the processing chain.

This PR removes those redundant fallbacks, and also adds some messaging around these options being "advanced", and that they aren't intended to really be tweaked just for fun. We had considered not including this section in the generated default config at all for that reason, but doing that introduces unnecessary complexity right now, and also makes these options less discoverable for the people who may actually need them.

@adamwathan adamwathan changed the title Remove redundant default option fallbacks [0.3] Remove redundant default option fallbacks Nov 24, 2017
@adamwathan adamwathan merged commit a2f1cf0 into 0.3 Nov 24, 2017
@adamwathan adamwathan deleted the mark-options-as-advanced branch November 24, 2017 20:03
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.

2 participants