Normalize presets before merging config with others. (#9034)

This commit is contained in:
Logan Smyth 2018-11-16 21:23:23 -08:00 committed by GitHub
parent 1af57e6f71
commit 20a9d71016
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ export function buildPresetChain(
return {
plugins: dedupDescriptors(chain.plugins),
presets: dedupDescriptors(chain.presets),
options: chain.options,
options: chain.options.map(o => normalizeOptions(o)),
};
}