From 205ef8fdcc4eb35e50d4f523162e0b1b65fdc47f Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Thu, 28 Feb 2019 10:07:41 +0100 Subject: [PATCH] fix scss compilation task --- Gruntfile.js | 5 +++++ package.json | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 59ad896..b58eabe 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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' diff --git a/package.json b/package.json index 35fcc51..2cc5d41 100644 --- a/package.json +++ b/package.json @@ -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" }