Skip to content

Commit

Permalink
migrate to grunt-contrib-sass and cleanup warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
DawoudIO committed Feb 22, 2025
1 parent dce74f5 commit c37e790
Show file tree
Hide file tree
Showing 5 changed files with 254 additions and 106 deletions.
11 changes: 3 additions & 8 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ module.exports = function (grunt) {

var datatTablesVer = "1.10.18";

const sass = require("sass");

// Project configuration.
grunt.initConfig({
package: grunt.file.readJSON("package.json"),
Expand Down Expand Up @@ -340,11 +338,6 @@ module.exports = function (grunt) {
},
},
sass: {
options: {
implementation: sass,
sourceMap: true,
cacheLocation: process.env["HOME"] + "/node_cache",
},
dist: {
files: {
"src/skin/churchcrm.min.css": "src/skin/churchcrm.scss",
Expand Down Expand Up @@ -698,7 +691,9 @@ module.exports = function (grunt) {
// display local master's commit hash
});

grunt.loadNpmTasks("grunt-sass");
grunt.registerTask('default', ['sass']);

grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadNpmTasks("grunt-contrib-copy");
grunt.loadNpmTasks("grunt-contrib-clean");
grunt.loadNpmTasks("grunt-contrib-compress");
Expand Down
Loading

0 comments on commit c37e790

Please sign in to comment.