Browse Source

Stop minifying the code

This makes it really really hard to track down errors
master
Leo Lamprecht 8 years ago
parent
commit
d441c120a6
  1. 3
      gulpfile.babel.js
  2. 3
      package.json

3
gulpfile.babel.js

@ -1,7 +1,6 @@
import gulp from 'gulp';
import del from 'del';
import babel from 'gulp-babel';
import uglify from 'gulp-uglify';
import help from 'gulp-task-listing';
import { exec as enclose } from 'enclose';
@ -15,13 +14,11 @@ gulp.task('compile', [
gulp.task('compile-lib', () =>
gulp.src('lib/**/*.js')
.pipe(babel())
.pipe(uglify())
.pipe(gulp.dest('build/lib')));
gulp.task('compile-bin', () =>
gulp.src('bin/*')
.pipe(babel())
.pipe(uglify())
.pipe(gulp.dest('build/bin')));
gulp.task('enclose', ['compile'], (cb) => {

3
package.json

@ -100,8 +100,7 @@
"gulp": "3.9.1",
"gulp-babel": "6.1.2",
"gulp-eslint": "3.0.1",
"gulp-task-listing": "1.0.1",
"gulp-uglify": "2.0.0"
"gulp-task-listing": "1.0.1"
},
"scripts": {
"start": "gulp",

Loading…
Cancel
Save