mirror of
https://github.com/locomotivemtl/locomotive-boilerplate.git
synced 2026-01-15 00:55:08 +08:00
Fixed the svgmin in the gruntfile
This commit is contained in:
@@ -138,11 +138,14 @@ module.exports = function(grunt) {
|
||||
{ removeUselessStrokeAndFill: false }
|
||||
]
|
||||
},
|
||||
dist: {
|
||||
files: {
|
||||
'assets/images/dist/': 'assets/images/dist/*.svg'
|
||||
}
|
||||
}
|
||||
dist: {
|
||||
expand: true,
|
||||
cwd: 'assets/images/dist/',
|
||||
src: '*.svg',
|
||||
dest: 'assets/images/dist/',
|
||||
ext: '.svg',
|
||||
extDot: 'first'
|
||||
}
|
||||
},
|
||||
|
||||
// imagemin: Minify PNG and JPEG images.
|
||||
|
||||
Reference in New Issue
Block a user