@realfavicongenerator/grunt-real-favicon
Version:
Generate a multiplatform favicon with RealFaviconGenerator and Grunt
20 lines (15 loc) • 480 B
text/typescript
/*
* grunt-real-favicon
* https://github.com/RealFaviconGenerator/core
*
* Copyright (c) 2024 Philippe Bernard
* Licensed under the MIT license.
*/
;
import { generateFavicon } from "./generate-favicon";
module.exports = function(grunt: IGrunt) {
grunt.registerMultiTask('realFavicon', 'Your favicon with RealFaviconGenerator and Grunt', function() {
const done = this.async();
generateFavicon(this).then(() => done());
});
};