This repository has been archived by the owner on Sep 17, 2023. It is now read-only.
Plugin prints error message when trying to process image files #47
Labels
bug
help wanted
more details or info required
Not enough details given to solve the issue
scully-plugin-minify-html
🐞 Bug report
Description
The plugin does not automatically ignore image files and will instead error out and print an error message to the console during Scully build. The plugin handler is skipped so this does not result in build failure, but the generated error messages are noise in the console.
The ideal behaviour here would be to just skip processing image files
🔬 Minimal Reproduction
Any Scully project using the scully-plugin-minify-html plugin in
defaultPostRenderers
of the Scully config with a fileHandler plugin registered e.g.registerPlugin('fileHandler', 'png', imageFilePlugin);
.💻Your Environment
Angular Version:
Scully Version:
🔥 Exception or Error
The text was updated successfully, but these errors were encountered: