fis-parser-sass
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -87,2 +87,8 @@ /* | ||
module.exports = function(content, file, conf){ | ||
// 不处理空文件,处理空文件有人反馈报错。 | ||
if (!content || !content.trim()) { | ||
return content; | ||
} | ||
root = root || fis.project.getProjectPath(); | ||
@@ -89,0 +95,0 @@ var opts = fis.util.clone(conf); |
{ | ||
"name": "fis-parser-sass", | ||
"description": "A parser plugin for fis to compile sass file.", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"author": "FIS Team <fis@baidu.com>", | ||
@@ -6,0 +6,0 @@ "homepage": "http://fis.baidu.com/", |
15485
333