Modules not resolving
Closed this issue · 0 comments
maharielrosario commented
Here is how I'm configuring this plugin in my gatsby-config.js
{
resolve: "gatsby-plugin-module-resolver",
options: {
root: "./",
},
}
Example module import:
import spacing from "figmagic/tokens/spacing";
If I'm understanding this plugin correctly, shouldn't this resolve the path to: myprojectroot/figmagic/tokens/spacing
?