Skip to content

Commit

Permalink
Reformat Gruntfile.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdrogdrog committed Jul 20, 2021
1 parent 325dd1a commit f26f3a5
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
/*jshint node:true*/

module.exports = function(grunt) {
'use strict';

require('load-grunt-tasks')(grunt);
module.exports = function (grunt) {
'use strict';

require('load-grunt-tasks')(grunt);
const packageJSON = grunt.file.readJSON('package.json');

grunt.initConfig({
webfont: {
grunt.initConfig({
webfont: {
Twemoji: {
src: 'build/glyphs/*.svg',
dest: 'build/raw-font',
Expand All @@ -22,10 +21,9 @@ module.exports = function(grunt) {
codepointsFile: 'build/codepoints.js'
}
},
},
});

grunt.loadNpmTasks('grunt-webfonts');
},
});

grunt.registerTask('default', ['webfont']);
grunt.loadNpmTasks('grunt-webfonts');
grunt.registerTask('default', ['webfont']);
};

0 comments on commit f26f3a5

Please sign in to comment.