Closed mfjordvald closed 1 year ago
Currently when an error happens it's hidden behind a generic failed message. This makes it difficult to debug what is going wrong. Might make sense to collect errors and present them at the end of the build process.
https://github.com/FatehAK/vite-plugin-image-optimizer/blob/main/src/index.js#L54
Good idea! Will look into it
This has been implemented with version 1.0.5.
A sample screenshot:
Currently when an error happens it's hidden behind a generic failed message. This makes it difficult to debug what is going wrong. Might make sense to collect errors and present them at the end of the build process.
https://github.com/FatehAK/vite-plugin-image-optimizer/blob/main/src/index.js#L54