I'm working in a React project.
In a component's specific SASS file, I import SASS partials like this:
@import '../../styles/fonts';
When I was working in Angular project, the previous path could be simplified with:
@import 'fonts';
And how this can be achieved is by adding a configuration to ".angular.cli.json" as described in this link https://scotch.io/tutorials/angular-shortcut-to-importing-styles-files-in-components.
My Question is: is there a way to achieve the same result in a React project? and how?
Thank you!