dazuaz / responsive-loader

A webpack loader for responsive images
BSD 3-Clause "New" or "Revised" License
647 stars 74 forks source link

Windows - generation of hash image files in dist folder #157

Closed silveoj closed 2 years ago

silveoj commented 2 years ago

System

I use Windows 10. NodeJS 14.17.0,16.9.1 or any version. Python3 (3.*) is installed with PATH environment. With Linux/Mac is ok.

Description

dist/assets/img includes correctly converted images (webp, jpg) but

Example

Repo: https://github.com/silveoj/pug-plugin-responsive-loader-issue/tree/responsive-loader-windows-test Branch: responsive-loader-windows-test See result.png.

I have worked with https://github.com/webdiscus/pug-plugin I supposed issue with this plugin https://github.com/webdiscus/pug-plugin/issues/8 But I have removed pug-plugin and have used only responsive-loader. Issue is still here (see this branch).

webdiscus commented 2 years ago

I found the problem in pug-plugin with a path under windows. I will fix it. This issue here can be closed.