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',
24 sourceMapURL: 'frontend.css.map',
25 sourceMapFilename: 'dist/css/frontend.css.map'
27 src: 'less/frontend.less',
28 dest: 'dist/css/frontend.css'
38 'dist/img/sprite.svg': [
47 files: [ 'html/**/*.html' ],
51 files: [ 'less/**/*.less' ],
55 files: [ 'img/**/*.svg' ],
62 grunt.registerTask('default', [ 'copy', 'less', 'svgstore' ]);