-
Notifications
You must be signed in to change notification settings - Fork 205
Open
Description
There are some nuances of the root option that are not explained in the README, or even the docs, for instance:
In addition, none of the docs actually explain what this plugin does behind the scenes, nor do they provide a means to troubleshoot. Just saying, a lot of developers want aliases, but may not realize how much this plugin really affects their builds (🙋♂️ me).
callumgare, stevus, tyler-coleman, hosseint79, gigby and 1 more
Metadata
Metadata
Assignees
Labels
No labels
{ "plugins": [ ["module-resolver", { "root": ["./src"], // setting this to `./` worked at first glance, but it broke a lot of things in my app "alias": { "test": "./test", // it's not clear whether this is relative to the `root` specified above (it's not, UNLIKE tsconfig.json) "underscore": "lodash" } }] ] }