Skip to content

Commit

Permalink
Normalize presets before merging config with others. (#9034)
Browse files Browse the repository at this point in the history
  • Loading branch information
loganfsmyth committed Nov 17, 2018
1 parent 1af57e6 commit 20a9d71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-core/src/config/config-chain.js
Expand Up @@ -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)),
};
}

Expand Down

0 comments on commit 20a9d71

Please sign in to comment.