mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-29 01:11:21 +02:00
re-created unprefixed version of reveal.css automatically using autoprefixer, to facilitate merging of changes to it
This commit is contained in:
10
Gruntfile.js
10
Gruntfile.js
@@ -81,6 +81,14 @@ module.exports = function(grunt) {
|
||||
files: {
|
||||
'css/reveal.css': 'css/reveal.bare.css'
|
||||
}
|
||||
},
|
||||
unprefix: {
|
||||
files: {
|
||||
'css/reveal.clean.css': 'css/reveal.css'
|
||||
},
|
||||
options: {
|
||||
browsers: []
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -139,7 +147,7 @@ module.exports = function(grunt) {
|
||||
grunt.registerTask( 'themes', [ 'sass' ] );
|
||||
|
||||
// CSS task
|
||||
grunt.registerTask( 'css', [ 'autoprefixer', 'cssmin' ] );
|
||||
grunt.registerTask( 'css', [ 'autoprefixer:dist', 'cssmin' ] );
|
||||
|
||||
|
||||
// Package presentation to archive
|
||||
|
Reference in New Issue
Block a user