getting following error:
`ENOENT: no such file or directory, scandir 'home/app/src/components/@/assets/icons'
at enumerateFiles (node_modules/babel-plugin-require-context-hook/register.js:12:8)
at context (node_modules/babel-plugin-require-context-hook/register.js:27:16)`
The @ is being treated literally. since '@' is an alias for 'src'. The directory it should be looking at should be: 'src/assets/icons' (which is resolved from '@/assets/icons')
How can make babel-plugin-require-context-hook to resolve alias '@' to 'src'?
getting following error: `ENOENT: no such file or directory, scandir 'home/app/src/components/@/assets/icons'
at enumerateFiles (node_modules/babel-plugin-require-context-hook/register.js:12:8) at context (node_modules/babel-plugin-require-context-hook/register.js:27:16)`
The @ is being treated literally. since '@' is an alias for 'src'. The directory it should be looking at should be: 'src/assets/icons' (which is resolved from '@/assets/icons')
How can make babel-plugin-require-context-hook to resolve alias '@' to 'src'?