-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
I'm getting the following error when running my grunt task
Running "svgmin:dist" (svgmin) task
Direct yaml files load via require() is deprecated! Use safeLoad() instead.
Total saved: 0 B
This is my grunt setup:
svgmin: {
options: {
plugins: [
{ removeViewBox: false },
{ removeUselessStrokeAndFill: false }
]
},
dist: { // Target
files: [{ // Dictionary of files
expand: true, // Enable dynamic expansion.
cwd: './assets/images', // Src matches are relative to this path.
src: ['/*.svg'], // Actual pattern(s) to match.
dest: './assets/images/min' // Destination path prefix.
}]
}
}
If you need any more info please let me know.
Metadata
Metadata
Assignees
Labels
No labels