Skip to content

Commit

Permalink
Update to node-sass 4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Munter committed Feb 12, 2018
1 parent c564d47 commit e41bb60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function compileSass(options) {
if (/\.(?:scss|sass)$/.test(req.path)) {
if (!sass) {
try {
sass = require('node-sass-evergreen');
sass = require('node-sass');
} catch (e) {
return sendErrorResponse('express-compile-sass: Unable to load the node-sass module. Please run `npm install --save node-sass`');
}
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"messy": "^6.5.0",
"mocha": "^2.5.3",
"mocha-lcov-reporter": "^1.2.0",
"node-sass": "^3.1.2",
"node-sass": "^4.7.2",
"sinon": "^1.15.4",
"supertest": "^1.2.0",
"unexpected": "^10.13.3",
Expand All @@ -49,7 +49,6 @@
"chalk": "^1.0.0",
"csserror": "^2.0.2",
"gaze": "^1.0.0",
"inline-source-map-comment": "^1.0.5",
"node-sass-evergreen": "^1.1.2"
"inline-source-map-comment": "^1.0.5"
}
}

0 comments on commit e41bb60

Please sign in to comment.