I have an svg file inside assets / shape_dividers that I want to access. But the problem is that I want to access from Welcome.js . I was searching in some other posts and they say to install babel-plugin-module-resolver but I still have problems.
.babelrc File
{
"plugins": [
[ "module-resolver", { "root": ["./"] } ]
]
}
Welcome.js
import Wave from 'assets/shape_dividers/wave';
Directory: