mirror of https://github.com/juliancwirko/abc.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
859 B
36 lines
859 B
'use strict'; |
|
|
|
module.exports = function(grunt) { |
|
|
|
require('load-grunt-tasks')(grunt); |
|
|
|
grunt.initConfig({ |
|
pkg: grunt.file.readJSON('package.json'), |
|
|
|
sass: { |
|
dist: { |
|
options: { |
|
outputStyle: 'compressed' // nested or compressed |
|
// sourceMap: true, |
|
// imagePath: '', |
|
// includePaths: [] |
|
// more info: https://github.com/sindresorhus/grunt-sass |
|
}, |
|
files: { |
|
'assets/css/style.css': 'assets/scss/style.scss' |
|
} |
|
} |
|
}, |
|
|
|
watch: { |
|
sass: { |
|
files: 'assets/scss/**/*.scss', |
|
tasks: ['sass'] |
|
} |
|
} |
|
|
|
}); |
|
|
|
grunt.registerTask('default', ['sass', 'watch']); |
|
|
|
}; |