commit 8291a7cfe47ba87ea50f0f64694c868967aaf623
parent d41e74cfcd0fff1d50747d0878ea157a13f873b2
Author: Peter Krautzberger <p.krautzberger@gmail.com>
Date: Thu, 16 Oct 2014 21:37:16 +0200
added template for mathjax-node
Diffstat:
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git 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'
+ ]);