diff --git a/blocks/themes/uc-basic/svg-sprite.js b/blocks/themes/uc-basic/svg-sprite.js
index f67fa0a4..851c5d84 100644
--- a/blocks/themes/uc-basic/svg-sprite.js
+++ b/blocks/themes/uc-basic/svg-sprite.js
@@ -1 +1 @@
-export default "";
+export default "";
diff --git a/build-svg-sprite.js b/build-svg-sprite.js
index 14cf52f6..1ffad86f 100644
--- a/build-svg-sprite.js
+++ b/build-svg-sprite.js
@@ -46,11 +46,11 @@ const config = {
},
};
-const spriter = new SVGSpriter(config);
-
console.log('Generating SVG sprite...');
DATA.forEach((item) => {
+ const spriter = new SVGSpriter(config);
+
fs.readdir(item.input, (err, files) => {
if (err) {
throw err;