Thank you for your hard work with this amazing loader. I read through the source code and saw the todo comment about moving away from pitch and integrating with file-loader and url-loader. This PR does just that, and would resolve https://github.com/zouhir/lqip-loader/issues/7.
If it is used by itself, it will fall back on the new file-loader peer dependency:
This PR is currently using file-loaders value for the public path, publicPath, and not path like this loader does. If you would like this PR, we could discuss if it should be a change to the API or if I should add support for path as well.
Thank you for your hard work with this amazing loader. I read through the source code and saw the todo comment about moving away from pitch and integrating with file-loader and url-loader. This PR does just that, and would resolve https://github.com/zouhir/lqip-loader/issues/7.
If it is used by itself, it will fall back on the new file-loader peer dependency:
It can also be used in series:
This PR is currently using file-loaders value for the public path,
publicPath
, and notpath
like this loader does. If you would like this PR, we could discuss if it should be a change to the API or if I should add support forpath
as well.