You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sadly I don't have a solution at the moment, but I have the same problem. I don't think it is Windows 8.1 related, I also tested this on Windows 7 Professional with the same result.
I was having the same result until I put default:{}, around the files:{}, or your-target:{}, section. The command line then said "File _includes/dest-svg.svg created" before "Done without errors." It ended up looking like this:
default:{
files: {
'_includes/svg-dest.svg': ['_includes/baseSVGs/*.svg'],
},
},
I guess the plugin is quite strict in setting your gruntfile.
See sample code below... This worked when i tested
module.exports = function(grunt) {
grunt.initConfig({
//This is the svgstore node
svgstore: {
options: {
prefix : 'shape-', // This will prefix each <g> ID
},
default : {
files: {
//'destination' : 'source or sourcelist'
'dest/svg-defs.svg': ['svgs/*.svg'],
}
}
},
});
//You need to load the plugin like this
grunt.loadNpmTasks('grunt-svgstore');
};
Hi,
I followed the tutorial example and I tried others variations.
Console output:
Running "svgstore:default" (svgstore) task
Done, without errors.
Could anyone help me, please?
The text was updated successfully, but these errors were encountered: