Added support for barrel files and extensionless imports. This can be…#22
Added support for barrel files and extensionless imports. This can be…#22jay-herrera wants to merge 2 commits intohb1998:masterfrom
Conversation
… slow since we have to search through each exported file in the barrel file
Create a document from this PR?If this PR introduces a new feature or an interesting change, turn it into a document. |
|
@jay-herrera can you give me a sample imports to test this or can you tell me if this is fine ? export * from './foo';
export * from './bar'; we also need to add unit tests for this. |
|
Hey, Habeeb! Those imports shoiuld work perfectly |
|
Also added support for destructured props and default exports. For now, all of these features will only work with functional components. I've tested it experimentally, but I can write unit tests when I get a chance |
… slow since we have to search through each exported file in the barrel file