add module.exports = module['default'] in module unexpectedly
Peiren opened this issue · comments
Peiren Xu commented
As I know, this plugin come into play when there is only one 'export default' declaration in a module.
But module with content as below affected by this plugin unexpectedly:
import xxx from 'xxx';
export * from 'xxx';
export default xxx;