-
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
How to set imagesPublicPath in runtime #33
Comments
This is unfortunately not possible out of the box with the current version. But the next major version of this plugin (which I'm currently working on) will use the same asset prefix as next does, so this will work in the future. Until then, you can achieve the same with a bit more manual setup if you want to. You could create a new file (e.g. |
hey @cyrilwanner has this been fixed? I'm trying canary.10 but it looks like it's not working when using the |
Currently I can use
to set the assetPrefix for next.js files in runtime, that way I can reuse my build file for both staging and production environment
Is it possible to set imagesPublicPath in runtime too?
The text was updated successfully, but these errors were encountered: