feat: add errorHandler if resource could not be loaded
- Fixes #7 - Fixes #6 - Add "errorHandler" config key - Add the following error-handlers: - `warning`: prints warning if resource not found under 'assets' - `warning-remote`: prints warning, but tries RemoteGet as alternative - `error`: prints error if resource not found, fails build
This commit is contained in:
@@ -23,4 +23,6 @@ Params:
|
||||
# Renderer options:
|
||||
class: "my-img-class"
|
||||
alt: "My logo"
|
||||
noscript: true
|
||||
noscript: true
|
||||
|
||||
errorHandler: warning-remote
|
||||
Reference in New Issue
Block a user