babel-merge
babel-merge copied to clipboard
plugin will lost when one plugin name includes another
Two configurations: A: { plugin: [ 'universal-import', 'import', ] }
B: { plugin: [ // anything.... ] }
after using babel-merge, 'import' plugin will be lost from result.
The cause is https://github.com/eliperelman/babel-merge/blob/master/index.js#L19
Hi! Does this still reproduce using babel-merge 2.x?
My gut says "yes" because of:
https://github.com/neutrinojs/babel-merge/blob/400d166842d0be23eea4b84effe21b886dbe86fa/src/index.js#L18