twopluszero / next-images

Import images in Next.js (supports jpg, jpeg, svg, png and gif images)
MIT License
948 stars 67 forks source link

Add `name` option to allow overriding the default of "[name]-[hash].[ext]" #70

Closed fracture91 closed 3 years ago

fracture91 commented 3 years ago

I've patched this into one of my projects and configured it thusly. Seems to work as intended.

arefaslani commented 3 years ago

@fracture91 I tested it and it works well 👍 Thanks! I'll add it to the next release. Maybe adding a changelog from now on is also a good idea...