You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'?
The text was updated successfully, but these errors were encountered:
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'?
The text was updated successfully, but these errors were encountered: