grunt-email-inliner 모듈을 사용하려고하는데 어떤 이유로 작동하지 않는 것 같습니다. 나는 꿀꿀 거리는 것을 처음 봤어, 내가 뭘 놓치고 있니? 나는 문서를 세 번 확인했다. https://github.com/yargalot/Email-Builder왜 내 작업을 실행하지 않겠습니까?
module.exports = function(grunt) {
grunt.initConfig({
emailBuilder: {
test: {
files: [{
expand: true,
cwd: 'web/src/vm-templates',
src: ['*.html'],
dest: 'web/src/result/',
ext: '.vm',
}]
}
},
less: {
development: {
options: {
//compress: true,
//yuicompress: true,
//optimization: 2
},
files: {
// target.css file: source.less file
"WebContent/css/styles.css": "less/styles.less"
}
}
},
watch: {
styles: {
files: ['less/**'], // which files to watch
tasks: ['less'],
options: {
nospawn: true
}
}
}
});
grunt.loadNpmTasks('grunt-email-builder');
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('default', ['less']);
grunt.registerTask('default', ['less', 'watch', 'emailBuilder']);
};
세스, 고맙다. 당신과 가족의 나머지가 잘되기를 바랍니다. –