Bläddra i källkod

Add more support for external markdown.

The 'grunt watch' command now also watches for changes to external
markdown.
The 'grunt package' command now packages all external markdown files for
rapid deployment in static enviroments.
Will Sloan 9 år sedan
förälder
incheckning
3d53766e51
1 ändrade filer med 6 tillägg och 2 borttagningar
  1. 6 2
      Gruntfile.js

+ 6 - 2
Gruntfile.js

@@ -107,7 +107,8 @@ module.exports = function(grunt) {
 				'js/**',
 				'lib/**',
 				'images/**',
-				'plugin/**'
+				'plugin/**',
+        '**.md'
 			]
 		},
 
@@ -129,7 +130,10 @@ module.exports = function(grunt) {
 			},
 			html: {
 				files: [ 'index.html']
-			}
+			},
+      markdown: {
+        files: [ './*.md' ]
+      }
 		}
 
 	});