lighting-plugin-sass
Advanced tools
+6
-3
@@ -20,4 +20,3 @@ let sass = require("node-sass"); | ||
| }, function(err, result) { | ||
| light.util.writeFileSync(file,result.css); | ||
| light.util.renameSync(file,file.replace(/sass$/i,"css")); | ||
| light.util.writeFileSync(file.replace(/sass$/i,"css"),result.css); | ||
| resolve() | ||
@@ -28,3 +27,7 @@ }); | ||
| Promise.all(processPromise).then(cb); | ||
| Promise.all(processPromise).then(function () { | ||
| light.util.glob.sync("dist/**/*.sass").forEach(function (file) { | ||
| light.util.removeSync(file); | ||
| }) | ||
| }).then(cb); | ||
| }, | ||
@@ -31,0 +34,0 @@ |
+1
-1
| { | ||
| "name": "lighting-plugin-sass", | ||
| "version": "1.0.0", | ||
| "version": "1.0.1", | ||
| "description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
38507
0.29%41
7.89%