1 module.exports = function(grunt) {
3 grunt.loadNpmTasks('grunt-contrib-copy');
4 grunt.loadNpmTasks('grunt-contrib-less');
5 grunt.loadNpmTasks('grunt-contrib-watch');
6 grunt.loadNpmTasks('grunt-svgstore');
10 pkg: grunt.file.readJSON('package.json'),
17 dest: 'dist/thymeleaf/templates'
28 sourceMapURL: 'frontend.css.map',
29 sourceMapFilename: 'dist/css/frontend.css.map'
31 src: 'less/frontend.less',
32 dest: 'dist/css/frontend.css'
42 'dist/img/sprite.svg': [
51 files: [ 'html/**/*.html' ],
55 files: [ 'less/**/*.less' ],
59 files: [ 'img/**/*.svg' ],
66 grunt.registerTask('default', [ 'copy', 'less', 'svgstore' ]);