aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2019-02-28 10:07:41 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2019-02-28 10:07:41 +0100
commit205ef8fdcc4eb35e50d4f523162e0b1b65fdc47f (patch)
tree8b35e5030dee26c8b567d103145f2b9b5186db00
parentd549204ef17a0d87a0bf658a44e18edaad942aee (diff)
downloadperl-software-in-gnu-guix-205ef8fdcc4eb35e50d4f523162e0b1b65fdc47f.tar
perl-software-in-gnu-guix-205ef8fdcc4eb35e50d4f523162e0b1b65fdc47f.tar.gz
fix scss compilation task
-rw-r--r--Gruntfile.js5
-rw-r--r--package.json5
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"
}