Skip to content

Commit 8a52a26

Browse files
committed
fix(app): copy view files to dist folder
htmlmin was previously copying the view files. Since it now operates solely on the dist folder, the views needed to be manually copied
1 parent a2f4a7b commit 8a52a26

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: templates/common/Gruntfile.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ module.exports = function (grunt) {
281281
files: [{
282282
expand: true,
283283
cwd: '<%%= yeoman.dist %>',
284-
src: ['*.html', 'views/*.html'],
284+
src: ['*.html', 'views/{,*/}*.html'],
285285
dest: '<%%= yeoman.dist %>'
286286
}]
287287
}
@@ -319,6 +319,7 @@ module.exports = function (grunt) {
319319
'*.{ico,png,txt}',
320320
'.htaccess',
321321
'*.html',
322+
'views/{,*/}*.html',
322323
'bower_components/**/*',
323324
'images/{,*/}*.{webp}',
324325
'fonts/*'

0 commit comments

Comments
 (0)