Skip to content

Commit

Permalink
feat(plugin-sass): 改用dart-sass
Browse files Browse the repository at this point in the history
  • Loading branch information
Littly committed Apr 4, 2019
1 parent aa1f71c commit 0a2f8d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/taro-plugin-sass/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const sass = require('node-sass')
const sass = require('dart-sass')

module.exports = function compileSass (content, file, config) {
return new Promise((resolve, reject) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-plugin-sass/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"author": "luckyadam",
"license": "MIT",
"dependencies": {
"node-sass": "^4.11.0"
"dart-sass": "^1.17.4"
}
}

0 comments on commit 0a2f8d8

Please sign in to comment.