node-sprite-generator
node-sprite-generator copied to clipboard
Sprite image and style does not generated
Here is my code:
var nsg = require('node-sprite-generator');
nsg({
src: ['images/1.jpg',
'images/2.jpg',
'images/3.jpg'
],
spritePath: 'sprite.png',
stylesheetPath: 'sprite.css',
stylesheet: 'css'
}, function (err) {
console.log('Sprite generated!');
});
When i run it using node sprite.js
It says "Sprite generated!" but nothing happens, there is no sprite.png and no sprite.css!
I'm using vscode internal terminal.