You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i'd like to specify my src directory as the root, similar to webpack's resolve.root option. currently I need to alias every top level directory in my root to use this. not bad, but not great.
The text was updated successfully, but these errors were encountered:
Sorry for the delay, looks like I missed the original post.
Currently, I'm afraid this is not possible. But I'm open to accept a PR with this new functionality.
The configuration could take an array, or an object for its configuration. The array is an alias configuration, and an object could have a root property and/or an alias property (like webpack).
What do you think? Wanna work on this?
* feat: Add support for custom root directories
Fixes#46
BREAKING CHANGE: There's a new way to specify alias in the plugin options. See README for more info
i'd like to specify my src directory as the root, similar to webpack's resolve.root option. currently I need to alias every top level directory in my root to use this. not bad, but not great.
The text was updated successfully, but these errors were encountered: