//Preprocess files from a folder
preprocess: {
options: {
context: {
DEBUG: false,
JSVERSION : '<%= globalConfig.versionjs %>'
}
},
html: {
files: [{
expand: true,
cwd: '<%= globalConfig.app %>html/',
src: ['**/*.html'],
dest: '<%= globalConfig.build %>',
ext: '.html',
}]
}
}
//Preprocess specific file
preprocess: {
options: {
context: {
DEBUG: false,
JSVERSION : '<%= globalConfig.versionjs %>'
}
},
html : {
src : '<%= globalConfig.app %>index.html',
dest : '<%= globalConfig.dist %>index.html'
}
}