Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
jackocnr committed Aug 21, 2024
1 parent 2dee81a commit 327cd09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 327cd09

Please sign in to comment.