I have a react application, with custom webpack config (webpack-encore).
How can I set 'src' folder as resource root.
Ex:
I want to use
import 'components/someComponent.jsx'
instead of
import '../../components/someComponent.jsx'
Folder structure:
- -app
- --src
- ---components