From d89b4948d97cb80017c7f8a2ff36790cc2e0714b Mon Sep 17 00:00:00 2001 From: Simon Lagos Date: Sun, 25 Aug 2019 13:34:17 +0200 Subject: [PATCH] Enable munching subfolders --- example/sprites/subfolder/green.png | Bin 0 -> 108 bytes index.js | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 example/sprites/subfolder/green.png diff --git a/example/sprites/subfolder/green.png b/example/sprites/subfolder/green.png new file mode 100644 index 0000000000000000000000000000000000000000..de8cbeeb9e42f175aacf7ccb3c67cb8efb45fd3c GIT binary patch literal 108 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdzBTpB{kO=p;7aRo{7&s0aq=~h^ zV3w>2V%@uB`8K(3MkW>x0R@K!1}Nh}^aF { if (fs.statSync(path.join(folder, file)).isDirectory()) { - processFolder(`${folder + file}/`) + processFolder(`${folder}/${file}/`) } else if (file.endsWith('.piskel')) { piskelToPNG(folder, file) } else if (file.endsWith('.png')) {