Next.js has an assetPrefix for CDNs and though you can set it for its own assets, it has no effect on webpack. Just a quick suggestion here to allow for optionally passing this as an option in case projects need to set their own CDN or absolute domain location on render.
Next.js has an
assetPrefix
for CDNs and though you can set it for its own assets, it has no effect on webpack. Just a quick suggestion here to allow for optionally passing this as an option in case projects need to set their own CDN or absolute domain location on render.