BetterDiscordApp-v2/Gruntfile.js

46 lines
1.2 KiB
JavaScript
Raw Normal View History

2016-04-10 15:22:47 +02:00
module.exports = function(grunt) {
grunt.initConfig({
sass: {
dist: {
options: {
style: 'expanded'
},
files: {
'dev/css/main.css': 'dev/css/main.sass'
}
}
},
concat: {
js: {
src: 'dev/js/*.js',
dest: 'js/main.js'
},
css: {
src: 'dev/css/*.css',
dest: 'css/main.css'
}
},
uglify: {
2016-04-11 09:41:17 +02:00
options: {
screwIE8: true
},
2016-04-10 15:22:47 +02:00
js: {
2016-04-11 09:41:17 +02:00
files: {
'js/main.min.js': ['js/main.js']
}
2016-04-10 15:22:47 +02:00
}
},
cssmin: {
css: {
src: 'css/main.css',
dest: 'css/main.min.css'
}
}
});
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadNpmTasks('grunt-css');
2016-04-10 15:31:20 +02:00
grunt.registerTask('default', ['sass', 'concat', 'uglify', 'cssmin']);
2016-04-10 15:22:47 +02:00
};