diff --git a/Gruntfile.js b/Gruntfile.js index 9c606a7c6..aa0c591a1 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -19,7 +19,7 @@ module.exports = function(grunt) { // just CSS grunt.registerTask('css', ['sass', 'cssmin']); // just images - grunt.registerTask('img', ['generate-scss-metadata', 'css']); + grunt.registerTask('img', ['generate-sprite', 'css']); // just javascript grunt.registerTask('js', ['shell:eslint', 'shell:genTsDeclaration', 'shell:genReactTsDeclaration', 'shell:buildJs', 'replace', 'shell:buildReact', 'replace:removeImport']); // just react diff --git a/grunt/generate-scss-metadata.js b/grunt/generate-sprite.js similarity index 98% rename from grunt/generate-scss-metadata.js rename to grunt/generate-sprite.js index bfbcc86ef..a9b454788 100644 --- a/grunt/generate-scss-metadata.js +++ b/grunt/generate-sprite.js @@ -4,7 +4,7 @@ const sharp = require('sharp'); const supportedCountries = require('../build/js/data.js'); module.exports = function(grunt) { - grunt.registerTask('generate-scss-metadata', async function() { + grunt.registerTask('generate-sprite', async function() { const supportedFilenames = supportedCountries.map(country => `${country.iso2}.svg`).sort(); const done = this.async();