Skip to content

Commit 719892e

Browse files
committed
Merge pull request #4 from Treri/master
use fis-parser-node-scss, and add to package.json
2 parents c5c520d + 318743f commit 719892e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

fis-conf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ fis.match("components/page/(*.html)",{
3838
//sass的编译
3939
fis.match('**/*.scss', {
4040
rExt: '.css', // from .scss to .css
41-
parser: fis.plugin('sass', {
41+
parser: fis.plugin('node-sass', {
4242
//fis-parser-sass option
4343
})
4444
});
@@ -80,4 +80,4 @@ fis.media('prod')
8080
})
8181
.match('**.css', {
8282
optimizer: fis.plugin('clean-css')
83-
});
83+
});

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"author": "zhangtao07",
66
"license": "MIT",
77
"dependencies": {
8+
"fis-parser-node-sass": "^0.1.9",
89
"fis3-hook-module": "*",
910
"fis3-postpackager-loader": "*"
1011
}
11-
}
12+
}

0 commit comments

Comments
 (0)