Skip to content
Snippets Groups Projects
Commit 06f8eb24 authored by Ulf Seltmann's avatar Ulf Seltmann
Browse files

changed default behavior to generate css as compressed files

refs #6041
parent a69d7389
No related merge requests found
module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-sass');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
// ADAPT THIS FOR FOUNDATION BASE THEME
......@@ -26,10 +29,6 @@ module.exports = function (grunt) {
}
}
});
grunt.loadNpmTasks('grunt-sass');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('default', ['watch']);
grunt.registerMultiTask('foundation', function (arg1, arg2) {
var fs = require('fs')
, path = require('path')
......@@ -67,4 +66,6 @@ module.exports = function (grunt) {
grunt.config.set('sass', sassConfig);
grunt.task.run('sass');
});
grunt.registerTask('default', ['foundation']);
};
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment