Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
diff --git a/Gruntfile.js b/Gruntfile.js
index b26f39a..0813089 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -56,7 +56,7 @@ module.exports = function (grunt) {
livereload: '<%= connect.options.livereload %>'
},
files: [
- '<%= yeoman.app %>/{,*/}*.html',
+ '<%= yeoman.app %>/{**/}*.html',
'.tmp/styles/{,*/}*.css',
'<%= yeoman.app %>/images/{,*/}*.{png,jpg,jpeg,gif,webp,svg}'
]
@@ -141,7 +141,7 @@ module.exports = function (grunt) {
dot: true,
src: [
'.tmp',
- '<%= yeoman.dist %>/{,*/}*',
+ '<%= yeoman.dist %>/{**/}*',
'!<%= yeoman.dist %>/.git{,*/}*'
]
}]
@@ -265,7 +265,7 @@ module.exports = function (grunt) {
// Performs rewrites based on filerev and the useminPrepare configuration
usemin: {
- html: ['<%= yeoman.dist %>/{,*/}*.html'],
+ html: ['<%= yeoman.dist %>/{**/}*.html'],
css: ['<%= yeoman.dist %>/styles/{,*/}*.css'],
options: {
assetsDirs: [
@@ -336,7 +336,7 @@ module.exports = function (grunt) {
files: [{
expand: true,
cwd: '<%= yeoman.dist %>',
- src: ['*.html', 'views/{,*/}*.html'],
+ src: ['*.html', 'views/{**/}*.html'],
dest: '<%= yeoman.dist %>'
}]
}
@@ -374,7 +374,7 @@ module.exports = function (grunt) {
'*.{ico,png,txt}',
'.htaccess',
'*.html',
- 'views/{,*/}*.html',
+ 'views/{**/}*.html',
'images/{,*/}*.{webp}',
'styles/fonts/{,*/}*.*'
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.