Closed Zolyn closed 2 years ago
@Zolyn You've been doing some awesome work with this plugin, would you like to be invited as a maintainer for it?
@Zolyn You've been doing some awesome work with this plugin, would you like to be invited as a maintainer for it?
Thank you for inviting me! I'm happy to be one of the maintainers of the project.
I'll do my best, although this is the first time I've been involved in maintaining someone else's project.
The property
node.source
will benull
unless we useexport { xx } from 'xx'
syntax. Therefore, we need to filterExportNamedDeclaration
.The property
node.specifiers
will be an empty array if we just import a file. (e.g.import 'xxx';
) We need to make sure that import statements has at least one specifier to avoid unnecessary deletion. (i.e. We only acceptimport { a } from 'b'
syntax)