From 8291a7cfe47ba87ea50f0f64694c868967aaf623 Mon Sep 17 00:00:00 2001 From: Peter Krautzberger Date: Thu, 16 Oct 2014 21:37:16 +0200 Subject: [PATCH] added template for mathjax-node --- Gruntfile.js | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) 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' + ]);