I'm trying to set my own baseUrl path in order to generate outputs relative to a certain URL, but it doesn't work.
When you modify the baseUrl as an option in the grunt configuration object from outside (not the plugin JS file), instead, the configuragion object in the Gruntfile.js, paths are processed wrongly, not being able to execute the task properly.
I'm trying to set my own baseUrl path in order to generate outputs relative to a certain URL, but it doesn't work.
When you modify the baseUrl as an option in the grunt configuration object from outside (not the plugin JS file), instead, the configuragion object in the Gruntfile.js, paths are processed wrongly, not being able to execute the task properly.
Following the next example:
If you console.log the files array in "spriteGenerator.js", the reference of src files are lost.