-
Notifications
You must be signed in to change notification settings - Fork 91
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
Unable to configure hash after upgrading to 2.0 #55
Comments
Thanks again for your issue. I think this was a bug in the file-loader (or a combination with the file-loader and url-loader). At least that's the only thing which makes sense to me, as I just pass down your names to the url-/file-loader. Can you please test this version in your project? |
Hi @cyrilwanner and thanks for looking into this issue despite being busy! I tried
UPD: Playing with various functions in the call stack, I noticed a bug in |
Hi again @cyrilwanner 👋
I'm curious how difficult would it be to customise hash, similar to how it used to work in v1. Back then my config looked like so, according to what file-loader accepts:
The trick with the hash formatting stopped working after upgrading
next-optimized-images
to v2, so my config had to become:Otherwise, the following error shows up:
I'm wondering if hash could be made customisable again, which should help shorten asset paths if desired. WDYT?
The text was updated successfully, but these errors were encountered: