Added support for barrel files and extensionless imports. This can be…
… 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.
Turn it into a doc automatically with AI, or start a doc manually with all the changes from this PR.
Configure these notifications in the repo settings (admins only)
Don't have access to Swimm yet? Click here to create your account and join this workspace.
@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. thanks for the pr, let me go through the approach once
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