(css) Update grunt-sass to v3.0

This release requires Node.js 8 or later.
This commit is contained in:
Francis Lachapelle
2019-07-05 09:38:51 -04:00
parent 73a3bf143a
commit d835a8165c
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -21,6 +21,7 @@ module.exports = function(grunt) {
'js/vendor/FileSaver.min.js': ['node_modules/file-saver/dist/FileSaver.js']
};
const sass = require('node-sass');
require('time-grunt')(grunt);
// Tasks
@@ -28,6 +29,7 @@ module.exports = function(grunt) {
pkg: grunt.file.readJSON('package.json'),
sass: {
options: {
implementation: sass,
sourceMap: true,
outFile: 'css/styles.css',
noCache: true,
+2 -1
View File
@@ -27,8 +27,9 @@
"grunt-contrib-watch": ">=0.5.3",
"grunt-ng-annotate": ">=0.10.0",
"grunt-postcss": ">=0.6.0",
"grunt-sass": "^2.0.0",
"grunt-sass": "^3.0.0",
"kss": ">=2.1.0",
"node-sass": "^4.12.0",
"time-grunt": "latest"
},
"browserslist": [