removed all vendor-prefixes from reveal.css
This commit is contained in:
parent
131c00689a
commit
4c155128c7
19
Gruntfile.js
19
Gruntfile.js
@ -76,6 +76,14 @@ module.exports = function(grunt) {
|
|||||||
files: [ 'Gruntfile.js', 'js/reveal.js' ]
|
files: [ 'Gruntfile.js', 'js/reveal.js' ]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
autoprefixer: {
|
||||||
|
dist: {
|
||||||
|
files: {
|
||||||
|
'css/reveal.css': 'css/reveal.bare.css'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
connect: {
|
connect: {
|
||||||
server: {
|
server: {
|
||||||
options: {
|
options: {
|
||||||
@ -104,6 +112,10 @@ module.exports = function(grunt) {
|
|||||||
theme: {
|
theme: {
|
||||||
files: [ 'css/theme/source/*.scss', 'css/theme/template/*.scss' ],
|
files: [ 'css/theme/source/*.scss', 'css/theme/template/*.scss' ],
|
||||||
tasks: 'themes'
|
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-watch' );
|
||||||
grunt.loadNpmTasks( 'grunt-contrib-sass' );
|
grunt.loadNpmTasks( 'grunt-contrib-sass' );
|
||||||
grunt.loadNpmTasks( 'grunt-contrib-connect' );
|
grunt.loadNpmTasks( 'grunt-contrib-connect' );
|
||||||
|
grunt.loadNpmTasks( 'grunt-autoprefixer' );
|
||||||
grunt.loadNpmTasks( 'grunt-zip' );
|
grunt.loadNpmTasks( 'grunt-zip' );
|
||||||
|
|
||||||
// Default task
|
// Default task
|
||||||
grunt.registerTask( 'default', [ 'jshint', 'cssmin', 'uglify', 'qunit' ] );
|
grunt.registerTask( 'default', [ 'jshint', 'autoprefixer', 'cssmin', 'uglify', 'qunit' ] );
|
||||||
|
|
||||||
// Theme task
|
// Theme task
|
||||||
grunt.registerTask( 'themes', [ 'sass' ] );
|
grunt.registerTask( 'themes', [ 'sass' ] );
|
||||||
|
|
||||||
|
// CSS task
|
||||||
|
grunt.registerTask( 'css', [ 'autoprefixer' ] );
|
||||||
|
|
||||||
|
|
||||||
// Package presentation to archive
|
// Package presentation to archive
|
||||||
grunt.registerTask( 'package', [ 'default', 'zip' ] );
|
grunt.registerTask( 'package', [ 'default', 'zip' ] );
|
||||||
|
|
||||||
|
1480
css/reveal.bare.css
Normal file
1480
css/reveal.bare.css
Normal file
File diff suppressed because it is too large
Load Diff
895
css/reveal.css
895
css/reveal.css
File diff suppressed because it is too large
Load Diff
@ -34,6 +34,7 @@
|
|||||||
"grunt-contrib-watch": "~0.5.3",
|
"grunt-contrib-watch": "~0.5.3",
|
||||||
"grunt-contrib-sass": "~0.5.0",
|
"grunt-contrib-sass": "~0.5.0",
|
||||||
"grunt-contrib-connect": "~0.4.1",
|
"grunt-contrib-connect": "~0.4.1",
|
||||||
|
"grunt-autoprefixer": "",
|
||||||
"grunt-zip": "~0.7.0",
|
"grunt-zip": "~0.7.0",
|
||||||
"grunt": "~0.4.0"
|
"grunt": "~0.4.0"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user