Created
September 29, 2015 14:54
-
-
Save ics-ikeda/496afc830ff8d6152f5e to your computer and use it in GitHub Desktop.
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 uglify = require('gulp-uglify'); | |
gulp.task('compress', function() { | |
return gulp.src('src/*.js') // JSファイルを監視 | |
.pipe(uglify()) // JSファイルを結合 | |
.pipe(gulp.dest('dist')); // 結合したファイルを保存 | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment