-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
After changing some code in my Javascript file and re-compiling the code, the minified version of it does not get updated even though the debug version does.
My gulp-file:
var minify = require('gulp-minify');
gulp.task('jsCompress', function() {
return gulp.src('./js/*.js')
.pipe(minify({
ext: {
src: '.debug.js',
min: '.min.js'
},
mangle: false,
compress: false,
ignoreFiles: ['.combo.js', '*.min.js', '*.debug.js']
}))
.pipe(gulp.dest('./js')) //same directory as the source directory
});
gulp.task('default', ['jsCompress']);
Metadata
Metadata
Assignees
Labels
No labels