File tree Expand file tree Collapse file tree 1 file changed +34
-34
lines changed Expand file tree Collapse file tree 1 file changed +34
-34
lines changed Original file line number Diff line number Diff line change @@ -40,46 +40,46 @@ module.exports = function(grunt) {
4040 require ( 'autoprefixer' ) ( { browsers : 'iOS >= 7, last 2 versions, ie > 7' } ) ,
4141 // minify the result
4242 require ( 'cssnano' ) ( )
43- ]
44- } ,
43+ ]
4544 } ,
45+ } ,
4646
47- watch : {
48- scss : {
49- files : [ 'scss/**/*.scss' , 'node_modules/**/*.scss' ] ,
50- tasks : [ 'sass' , 'postcss' ] ,
51- options : {
52- spawn : false ,
53- } ,
47+ watch : {
48+ scss : {
49+ files : [ 'scss/**/*.scss' , 'node_modules/**/*.scss' ] ,
50+ tasks : [ 'sass' , 'postcss' ] ,
51+ options : {
52+ spawn : false ,
5453 } ,
55- nunjucks : {
56- files : 'views/**/*.html' ,
57- tasks : [ 'nunjucks' ] ,
58- options : {
59- spawn : false ,
60- } ,
61- }
6254 } ,
63-
6455 nunjucks : {
65- render : {
66- options : {
67- paths : [ 'views' ] ,
68- trimBlock : true ,
69- lstripBlocks : true ,
70- data : grunt . file . readJSON ( 'templates-data.json' )
71- } ,
72- files : [
73- {
74- expand : true ,
75- cwd : "views/" ,
76- src : "*.html" ,
77- dest : "dist/" ,
78- ext : ".html"
79- }
80- ]
56+ files : 'views/**/*.html' ,
57+ tasks : [ 'nunjucks' ] ,
58+ options : {
59+ spawn : false ,
60+ } ,
61+ }
62+ } ,
63+
64+ nunjucks : {
65+ render : {
66+ options : {
67+ paths : [ 'views' ] ,
68+ trimBlock : true ,
69+ lstripBlocks : true ,
70+ data : grunt . file . readJSON ( 'templates-data.json' )
71+ } ,
72+ files : [
73+ {
74+ expand : true ,
75+ cwd : "views/" ,
76+ src : "*.html" ,
77+ dest : "dist/" ,
78+ ext : ".html"
8179 }
82- } ,
80+ ]
81+ }
82+ } ,
8383
8484
8585 } ) ;
You can’t perform that action at this time.
0 commit comments