Remove ruby-sass requirement (fixes #123)
Change-Id: I933c34d384f22a65e1b737e1e7dc13a20703e171
diff --git a/Gruntfile.js b/Gruntfile.js
index e726844..dd59ac3 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -14,6 +14,8 @@
* TODO: Implement a LaTeX generator for a pdf of the dokumentation
*/
+const sass = require('sass');
+
module.exports = function(grunt) {
var config;
var includeFile = 'default';
@@ -75,7 +77,9 @@
sass: {
dist: {
options: {
- style: 'compressed'
+ implementation: sass,
+ style: 'compressed',
+ sourceMap: true
},
files: {
'public/css/kalamar-<%= pkg.version %>.css' : 'dev/scss/kalamar.scss',
@@ -164,7 +168,7 @@
grunt.loadNpmTasks('grunt-contrib-imagemin');
grunt.loadNpmTasks('grunt-contrib-watch');
- grunt.loadNpmTasks('grunt-contrib-sass');
+ grunt.loadNpmTasks('grunt-sass');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-terser');
grunt.loadNpmTasks('grunt-contrib-requirejs');