Files
wumpfetch/gulpfile.js
David Ralph 75bf5323e8 Improvements
Changes:
* Fixed gulpfile.js formatting
* Fixed package.json and made it lighter
* Made index.js and WumpRequest.js lighter
* Made example lighter
* Fixed grammar issue in WumpRequest.js
* Fixed spacing issue in test
* Improved README.md and made it lighter
2019-04-07 11:58:42 +01:00

17 lines
430 B
JavaScript

const gulp = require('gulp');
const minify = require('gulp-minify');
const concat = require('gulp-concat');
gulp.task('build:node', () => {
return gulp
.src('dist/wumpfetch.concat.js')
.pipe(minify({ noSource: true, ext: { min: '.min.js' } }))
.pipe(gulp.dest('dist'));
});
gulp.task('concat', () => {
return gulp
.src('lib/**/*.js')
.pipe(concat('wumpfetch.concat.js'))
.pipe(gulp.dest('dist'));
});