grunt-email-workflow Grunt 任务?
grunt-email-workflow Grunt tasks?
我正在使用 Lee Munroe's grunt-email-workflow 构建一组电子邮件模板,但我无法找到配置任务的位置。
当我从终端 运行 "grunt" 时,我可以看到执行的任务很少:
-干净的
-sass
-assemble 页
-果汁
等等
但是 Gruntfile.js 不包含以下任何部分:
module.exports = function(grunt) {
require('load-grunt-config')(grunt, {
// Pass data to tasks
data: {
// Re-usable filesystem path variables
paths: {
src: 'src',
src_img: 'src/img',
dist: 'dist',
dist_img: 'dist/img',
preview: 'preview'
},
// secrets.json is ignored in git because it contains sensitive data
// See the README for configuration settings
secrets: grunt.file.readJSON('secrets.json')
}
});
};
我是不是漏掉了什么?
load-grunt-config is auto-loading the required grunt modules located in the package.json 的项目。这就是 clean
(grunt-contrib-clean) sass
(grunt-sass) 等的来源。
This File通过g运行t
确定哪些任务是运行
我正在使用 Lee Munroe's grunt-email-workflow 构建一组电子邮件模板,但我无法找到配置任务的位置。
当我从终端 运行 "grunt" 时,我可以看到执行的任务很少: -干净的 -sass -assemble 页 -果汁 等等
但是 Gruntfile.js 不包含以下任何部分:
module.exports = function(grunt) {
require('load-grunt-config')(grunt, {
// Pass data to tasks
data: {
// Re-usable filesystem path variables
paths: {
src: 'src',
src_img: 'src/img',
dist: 'dist',
dist_img: 'dist/img',
preview: 'preview'
},
// secrets.json is ignored in git because it contains sensitive data
// See the README for configuration settings
secrets: grunt.file.readJSON('secrets.json')
}
});
};
我是不是漏掉了什么?
load-grunt-config is auto-loading the required grunt modules located in the package.json 的项目。这就是 clean
(grunt-contrib-clean) sass
(grunt-sass) 等的来源。
This File通过g运行t
确定哪些任务是运行