Hakim El Hattab пре 5 година
родитељ
комит
205ef8fdcc
2 измењених фајлова са 8 додато и 2 уклоњено
  1. 5 0
      Gruntfile.js
  2. 3 2
      package.json

+ 5 - 0
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'

+ 3 - 2
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"
 }