Skip to content

gulp-real-favicon - the setting does not match the documentation #16

@darkoton

Description

@darkoton

I intended to add a feature to my gulp build regarding favicon generation. I added a basic setting for generating a Favicon using generateFavicon, but it returns the error:

'favicon' errored after 185 ms
[23:54:25] TypeError: Cannot read properties of undefined (reading 'endsWith')
at gulp-template\node_modules\@realfavicongenerator\image-adapter-node\dist\load.js:21:19
at Generator.next (<anonymous>)
at fulfilled (gulp-template\node_modules\@realfavicongenerator\image-adapter-node\dist\load.js:5:58)

I dug into the source code and saw that the parameters the function accepts don't match what the realfavicongenerator.net website provided for integration into Gulp. I'd like this to be corrected and at least the example on the website updated. Thank you for your attention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions