This repository has been archived on 2023-02-07. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-bfct/Gruntfile.js
Niklas Ravnsborg-Gjertsen a9fea342eb Setup Grunt to compile and autoprefix the SASS
Type `npm install` to install all dependencies.
Type `grunt` everytime you want to rebuild the css.
2014-11-20 15:44:54 +01:00

26 lines
565 B
JavaScript

module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
sass: {
dist: {
options: {
style: 'compressed'
},
files: {
'blender-bfct/application/static/assets/css/main.css': 'blender-bfct/application/static/assets/sass/main.sass'
}
}
},
autoprefixer: {
no_dest: { src: 'blender-bfct/application/static/assets/css/main.css' }
}
});
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadNpmTasks('grunt-autoprefixer');
grunt.registerTask('default', ['sass', 'autoprefixer']);
};