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 support for basePath #46

Closed mcansh closed 4 years ago

mcansh commented 4 years ago

Next introduced support for basePaths some time ago, and made them stable in 9.5.0, this PR adds support for it in the plugin

I also removed the yarn.lock as it looks like package-lock.json is the one getting more usage recently

arefaslani commented 4 years ago

@mcansh Thanks for the changes. I'll add the changes to NPM ASAP.

arefaslani commented 4 years ago

Released in V1.4.2 👍