doh
This commit is contained in:
parent
694fd64bd3
commit
043165e31b
1 changed files with 0 additions and 0 deletions
|
@ -1,40 +0,0 @@
|
|||
module.exports = function(grunt) {
|
||||
|
||||
grunt.initConfig({
|
||||
imagemin: {
|
||||
dynamic: {
|
||||
files: [{
|
||||
expand: true,
|
||||
cwd: 'img/',
|
||||
src: ['*.{png,jpg,gif}'],
|
||||
dest: 'img/'
|
||||
}]
|
||||
}
|
||||
},
|
||||
sass: {
|
||||
dist: {
|
||||
options: {
|
||||
style: 'compressed'
|
||||
},
|
||||
files: { 'style.css': 'css/style.scss' }
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
css: {
|
||||
files: ['css/*.scss'],
|
||||
tasks: ['sass'],
|
||||
options: {
|
||||
livereload: true
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
grunt.loadNpmTasks('grunt-contrib-imagemin');
|
||||
grunt.loadNpmTasks('grunt-contrib-sass');
|
||||
grunt.loadNpmTasks('grunt-contrib-watch');
|
||||
|
||||
grunt.registerTask('default', ['imagemin', 'sass', 'watch']);
|
||||
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue