fix scss compilation task

This commit is contained in:
Hakim El Hattab 2019-02-28 10:07:41 +01:00
parent d549204ef1
commit 205ef8fdcc
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,5 @@
const sass = require('node-sass');
/* global module:false */
module.exports = function(grunt) {
var port = grunt.option('port') || 8000;
@ -35,6 +37,9 @@ module.exports = function(grunt) {
},
sass: {
options: {
implementation: sass,
},
core: {
src: 'css/reveal.scss',
dest: 'css/reveal.css'

View File

@ -33,11 +33,12 @@
"grunt-contrib-qunit": "^2.0.0",
"grunt-contrib-uglify": "^3.3.0",
"grunt-contrib-watch": "^1.0.0",
"grunt-sass": "^2.0.0",
"grunt-sass": "^3.0.2",
"grunt-retire": "^1.0.7",
"grunt-zip": "~0.17.1",
"mustache": "^2.3.0",
"socket.io": "^2.2.0"
"socket.io": "^2.2.0",
"node-sass": "^4.11.0"
},
"license": "MIT"
}