-
Notifications
You must be signed in to change notification settings - Fork 205
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
Alias on partial string? #127
Comments
Hmm... I believe you should be able to set a custom alias for |
Thank you for the answer. |
Globbing only works for the root configuration for now.. So because you want a custom alias, I'm afraid it's not currently supported. |
Thank you, I'll try a different solution. Do you have plans to support glob or a custom function used to match the files? |
Globbing in the alias could be a nice to have. Supporting a custom function is tricky because we can't define the babel config in JS afaik. But we could allow having a reference to a file to setup the matching. Would you want to work on adding the features? |
Unfortunately I haven't time at the moment 🤕 |
I have a set of react components all in the same folder (a_la_lerna).
These components will be published to npm under a namespace, all prefixed by the
react-
string, I would like to make them depend by each other, example:Structure:
foo/index.jsx
:I would like to make webpack load the modules locally instead of npm while I'm developing, in practice, the import should be transpiled to:
Is it possible?
The text was updated successfully, but these errors were encountered: