Created
November 8, 2014 16:54
-
-
Save cecilemuller/c626703ed4d8d67aa689 to your computer and use it in GitHub Desktop.
Gulp task that compresses VRML files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'); | |
var gzip = require('gulp-gzip'); | |
gulp.task('vrml', function(){ | |
'use strict'; | |
gulp.src('src/**/*.wrl') | |
.pipe(gzip({ | |
append: false, | |
gzipOptions: { | |
level: 9 | |
} | |
})) | |
.pipe(gulp.dest('./www')); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment