You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to keep the output files generated by this plugin in webpack's pipe, rather than writing to disk, making it easy to do other things with the spritesheets after they've been generated?
Initially files generated by plugin were meant to be used as sources, not as final assets. With that in mind your original issue could be solved by using file-loader as in example in readme. Then file-loader would pick generated images and put them into webpack's assets, allowing other plugins to work on them.
When plugin used that way it don't make any sense to add generated images to webpack's assets.
Yet when generated image IS used as final asset it indeed makes sense, also it would probably work slightly faster with webpack-dev-server.
Plugin would have to deside between these two behaviours. Via some flag in config, I guess.
So yes. It is possible, but I am not sure if it is necessary.
Is it possible to keep the output files generated by this plugin in webpack's pipe, rather than writing to disk, making it easy to do other things with the spritesheets after they've been generated?
Klathmon/imagemin-webpack-plugin#37 (comment)
The text was updated successfully, but these errors were encountered: