diff --git a/Gruntfile.js b/Gruntfile.js index 66cd70ba2..e71ac30d3 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -122,7 +122,7 @@ module.exports = function(grunt) { // // Remove font formats // If you know you only need a specific format of your remaining fonts (e.g., woff), then you can delete the others. - dropFonts: [ // if you usie SVG output, you can drop all font formats (SVG output uses the data in `jax/output/SVG/fonts/...`) + dropFonts: [ // if you use SVG output, you can drop all font formats (SVG output uses the data in `jax/output/SVG/fonts/...`) "fonts", ], eot: [ @@ -354,4 +354,14 @@ module.exports = function(grunt) { 'clean:images', 'clean:notcode' ]); -}; \ No newline at end of file +}; + grunt.registerTask('mjNode', [ + 'clean:packed', // pick one -- packed for production, unpacked for development. + 'clean:allConfigs', // if you do not need any combined configuration files. + 'clean:dropFonts', // when using SVG output + 'clean:htmlCssOutput', + 'clean:locales', + 'clean:miscConfig', + 'clean:images', + 'clean:notcode' + ]);