-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional features #9
Comments
I've actually started working on the first one, the nested folder structure system, this morning. :) It will be my first public open source pull request. I've got the initial use case setup, but I'm working on making sure it is fully recursive so I'm working on the importing multiple files deeply now and I still need to figure out the best way to handle https://github.com/RayBenefield/babel-plugin-wildcard/tree/Recursive-Imports Still working on it and hopefully I'll get it done in the next day or two as I need it for a project I'm working on too. As for the second one, that looks interesting, for me that feels out of scope for this plugin as it isn't really a "wildcard" thing. |
Great! Good luck! |
I've put in the initial pull request for the first portion (#11). However it doesn't solve your use case @serhiipalash . It doesn't specially handle
the allowing JS: import * as Items from './dir';
console.log(Items.Nested.B()); |
Hello!
Very nice plugin!
Can you add more functionality to it?
I have such a project structure
Is it possible to import components like this?
DirectoryNamedWebpackPlugin
doesThere is an implementation of it for Babel, but it is not supported any more. Not published on npmjs mdluo/babel-plugin-directory-named-module#1
It would be great to get rid of
index.js
all over my React Native project.Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: