-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support absolute path #62
Comments
@vsachini Sorry for the late response, yes I think it should support it. Have you installed babel plugin module resolver or something like that? |
Hey I don't think absolute paths are working:
Changing it to a relative path lets it get imported no problem. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Does next-images supports absolute path?
I'm trying to import a .svg but I'm getting an error.
Code:
Error:
Error: /Users/v/project/src/components/home/Header.tsx: Cannot find module 'src/assets/menuIcon.svg' from '/Users/v/project/src/components/home'
next.config.js:
The text was updated successfully, but these errors were encountered: