'<%= yeoman.dist %>/public/{,*/}*.css',
'<%= yeoman.dist %>/public/assets/images/{,*/}*.{png,jpg,jpeg,gif,webp,svg}',
'<%= yeoman.dist %>/public/assets/fonts/*',
+ '<%= yeoman.dist %>/public/assets/i18n/{,*/}*.{json}',
'!<%= yeoman.dist %>/public/assets/images/tmp/*'
]
}
}]
}
},
+ jsonmin: {
+ dist: {
+ files: [{
+ expand: true,
+ cwd: '<%= yeoman.client %>/assets/i18n',
+ src: '{,*/}*.{json}',
+ dest: '<%= yeoman.dist %>/public/assets/i18n'
+ }]
+ }
+ },
svgmin: {
dist: {
'bower_components/**/*',
'bower_components_external/**/*',
'assets/images/**/*',
+ 'assets/i18n/**/*',
'assets/fonts/**/*',
'index.html'
]
cwd: '.tmp/images',
dest: '<%= yeoman.dist %>/public/assets/images',
src: ['generated/*']
+ }, {
+ expand: true,
+ cwd: '.tmp/i18n',
+ dest: '<%= yeoman.dist %>/public/assets/i18n',
+ src: [
+ 'CN.json',
+ 'EN.json'
+ ]
}, {
expand: true,
dest: '<%= yeoman.dist %>',