aboutsummaryrefslogtreecommitdiff
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorYves Delley <hack@delley.net>2014-09-05 17:41:56 +0200
committerYves Delley <hack@delley.net>2014-09-05 17:41:56 +0200
commit4c155128c79b3c810f5413638af9c84083bde21b (patch)
treeff3a82b078f54dc098d56597f4f2975f7c9ce40a /Gruntfile.js
parent131c00689a4c7a18e5c991fc8102347e4594b5d4 (diff)
downloadfreenode-live-2017-presentation-4c155128c79b3c810f5413638af9c84083bde21b.tar
freenode-live-2017-presentation-4c155128c79b3c810f5413638af9c84083bde21b.tar.gz
removed all vendor-prefixes from reveal.css
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js19
1 files changed, 18 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 1baf966..06d8023 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -76,6 +76,14 @@ module.exports = function(grunt) {
files: [ 'Gruntfile.js', 'js/reveal.js' ]
},
+ autoprefixer: {
+ dist: {
+ files: {
+ 'css/reveal.css': 'css/reveal.bare.css'
+ }
+ }
+ },
+
connect: {
server: {
options: {
@@ -104,6 +112,10 @@ module.exports = function(grunt) {
theme: {
files: [ 'css/theme/source/*.scss', 'css/theme/template/*.scss' ],
tasks: 'themes'
+ },
+ css: {
+ files: [ 'css/reveal.bare.css' ],
+ tasks: 'css'
}
}
@@ -117,14 +129,19 @@ module.exports = function(grunt) {
grunt.loadNpmTasks( 'grunt-contrib-watch' );
grunt.loadNpmTasks( 'grunt-contrib-sass' );
grunt.loadNpmTasks( 'grunt-contrib-connect' );
+ grunt.loadNpmTasks( 'grunt-autoprefixer' );
grunt.loadNpmTasks( 'grunt-zip' );
// Default task
- grunt.registerTask( 'default', [ 'jshint', 'cssmin', 'uglify', 'qunit' ] );
+ grunt.registerTask( 'default', [ 'jshint', 'autoprefixer', 'cssmin', 'uglify', 'qunit' ] );
// Theme task
grunt.registerTask( 'themes', [ 'sass' ] );
+ // CSS task
+ grunt.registerTask( 'css', [ 'autoprefixer' ] );
+
+
// Package presentation to archive
grunt.registerTask( 'package', [ 'default', 'zip' ] );