mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
feat(invite): lots of work completing the new email template system and css inlineing, converted new_user_invite.html to new system, #2353
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
default:
|
||||
- 'watch'
|
||||
|
||||
inkify:
|
||||
default:
|
||||
- 'clean'
|
||||
- 'assemble'
|
||||
- 'replace'
|
||||
- 'uncss'
|
||||
- 'processhtml'
|
||||
- 'premailer'
|
||||
|
||||
@@ -8,7 +8,7 @@ module.exports = {
|
||||
expand: true, // Enable dynamic expansion.
|
||||
cwd: 'dist', // Src matches are relative to this path.
|
||||
src: ['*.html'], // Actual pattern(s) to match.
|
||||
dest: 'dist/', // Destination path prefix.
|
||||
dest: '../public/emails/', // Destination path prefix.
|
||||
}],
|
||||
}
|
||||
};
|
||||
|
||||
@@ -2,7 +2,7 @@ module.exports = {
|
||||
dist: {
|
||||
files: [{
|
||||
expand: true, // Enable dynamic expansion.
|
||||
cwd: 'templates', // Src matches are relative to this path.
|
||||
cwd: 'dist', // Src matches are relative to this path.
|
||||
src: ['*.html'], // Actual pattern(s) to match.
|
||||
dest: 'dist/', // Destination path prefix.
|
||||
}],
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
module.exports = {
|
||||
dist: {
|
||||
src: ['templates/*.html'],
|
||||
src: ['dist/*.html'],
|
||||
dest: 'dist/css/tidy.css',
|
||||
options: {
|
||||
report: 'min' // optional: include to report savings
|
||||
|
||||
@@ -3,8 +3,10 @@ module.exports = {
|
||||
files: [
|
||||
//what are the files that we want to watch
|
||||
'assets/css/*.css',
|
||||
'*.html'
|
||||
'templates/**/*.html',
|
||||
'grunt/*.js',
|
||||
],
|
||||
tasks: ['default'],
|
||||
options: {
|
||||
nospawn: true,
|
||||
livereload: true,
|
||||
|
||||
Reference in New Issue
Block a user