cyrilwanner / next-optimized-images

🌅 next-optimized-images automatically optimizes images used in next.js projects (jpeg, png, svg, webp and gif).
MIT License
2.21k stars 93 forks source link

#117: Import through SASS URL does not work #247

Closed astorozhevsky closed 2 years ago

astorozhevsky commented 3 years ago

177

Regex was changed in the last version of Next.JS - https://github.com/vercel/next.js/blob/master/packages/next/build/webpack/config/blocks/css/index.ts#L17

astorozhevsky commented 3 years ago

Hi, @cyrilwanner, could you please merge and publish a new version?

RSchneider94 commented 2 years ago

hey guys, any updates on this? @cyrilwanner @astorozhevsky it would help a lot on our project here, because right now we are using backgroundImage with style tag and require as workaround 😢